typo.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
Welcome to Typo.social! This is a Mastodon instance open to any typo and type enthusiastic. We are offering this service out of sheer courtesy without being held responsible for any disadvantages.

Administered by:

Server stats:

776
active users

David JONES

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!

@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].

@drj

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

@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.

@carlton, I have a feeling that this will make you cackle. 🙂 @drj