In Python, the list syntax is [1, 2, 3]; in Oxford Python, the list syntax is [1, 2, and 3];
@drj Funny you should mention it.
@drj Perl should get an use Oxford
to go with use English
@drj My two favourite joke topics in one package, thank you!
@babaq niche
tired: Oxford
wired: 0xF04D
inspired: 0x4D
@drj I'm actually somewhat surprised that nobody seems to have come up with "0x4D University" before now.
@drj In greengrocer's Python it's [1, 2's, bunche's]
@drj That should be: ["one, two, and three.]
@drj In Welk Python, it's [1, and a 2, and a 3]
@drj this is an amazing cursed language feature, thank you
@drj In Aebersold Python, it’s [1, 2, 1234].
A comma before an "and"? unthinkable!
@drj I'll immediately add that to my list parser
@drj [1, 2, 3] is already Oxford Python?
Isn't Oxford comma about the comma before the last element; not about "and", which would exist regardless?
@drj Excel: (1,2,”and”&3) result: 03/01/1900
@drj Please don't give anyone ideas.
@drj [1, 2 and 3] is perfectly valid python...
@geospacedman I know. Partly why I chose this particular joke. :)
@drj APA Python is 1 et al. (2023).
@drj Not quite, Oxford Python is about misparsing plaintext into structs. So "Thanking: my parents, Ayn Rand and God" inexplicable becomes:
{"Thanking":{"my parents":["Ayn Rand","God"]}}
rather than:
{"Thanking":["my parents","Ayn Rand","God"]}
unless you add the trailing comma before and.