Talk:The Twelve Days of Christmas: Difference between revisions

no edit summary
(→‎nit picking capitals: added verbage about foods/drinks, cheesy stuff. -- ~~~~)
No edit summary
 
(10 intermediate revisions by 5 users not shown)
Line 1:
==Draft status==
We usually keep a task in draft status until there are five or so solutions, and no problems noticed with the task description. Thanks. --[[User:TimToady|TimToady]] ([[User talk:TimToady|talk]]) 18:36, 19 December 2013 (UTC)
 
==The Gifts of the 12 days==
 
A related task is to count the gifts of the 12 days.
*1st day: 1 partridge in a pear tree
*2nd day: 2 turtle doves, 1 more partridge, etc.
*12th day: 12 drummers, 11 more lords ... 1 more partridge
 
364 gifts total.
 
Or just the total number birds given: 184 birds
 
 
==nit picking capitals==
Line 47 ⟶ 59:
 
:: You're right about the cheesy part -- it sounds too convenient and artificial.   I was informed that it was used as a religious teaching aid (and a way to learn about certain articals of faith, or a catechism).   As an aside, I learned that the gifts were ''sent to me'', not ''gave to me'', but a lot of the words and phrases have changed over the years and varies what country/region it was first heard. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 19:19, 20 December 2013 (UTC)
 
::yes to retrofit
 
==Suggest a task name change==
To "The twelve days of christmas" to get the right capitalization. Or maybe without the initial "The". --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 19:40, 20 December 2013 (UTC)
 
: If the Rosetta Code task name refers (or ''is'') the title of the song ''The Twelve Days of Christmas'', then it would need capalization (as shown in the italicization).   Poem and song titles have their own (some quirky) rules of capitalization.   If, on the other hand, you're referring to or merely naming a Rosetta Code task, than all bets are off, as the ole saying goes. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 14:04, 22 December 2013 (UTC)
 
==question about Ruby==
 
I have a question about Ruby (in gernal) in using the   '''.split("\n")'''   function (or whatever it's called).
 
What happens when the same program is put on a system where there are no   '''\n'''   indicators in the file, but the ''newline'' is instead, ''indicated'' by the end-of-record in the file structure.   This would be the case of (generic) OS (MVS) or CMS (both IBM systems). -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 16:14, 22 December 2013 (UTC)
 
Probably the correct way to split would be split(&/), &/ being the input record separator global variable. I've never seen it used, except for golfing, but Ruby uses it with methods like gets and readline.--[[User:Steenslag|Steenslag]] ([[User talk:Steenslag|talk]]) 21:34, 22 December 2013 (UTC)
 
: Is it a "real character(s)" or can it be a metaphysical construct (such as a pseudo-End-of-Record)? -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 21:36, 22 December 2013 (UTC)
 
== Lyrics Standardization ==
 
The linked lyrics are one variation, but not the traditional version, which has "My true love ''sent'' to me" rather than "gave", and "gold rings" rather than "golden". (Admittedly, "golden" scans better, but it's pretty much purely an American innovation; see [https://en.wikipedia.org/wiki/The_Twelve_Days_of_Christmas_(song)#Variations_of_the_lyrics Wikipedia].) My submissions all have "gold rings", although I was inconsistent with regard to 'gave" vs "sent"; going back to correct that now. Anyway, I suggest the task description be modified to allow the traditional lyrics instead of requiring exactly the linked ones. --[[User:Markjreed|Markjreed]] ([[User talk:Markjreed|talk]]) 15:12, 22 December 2015 (UTC)