this post was submitted on 29 Aug 2023
1816 points (98.4% liked)
Programmer Humor
37745 readers
246 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
i like my arrays starting from 0 thank you
I like my arrays iterable, that’s all I need to know. No matter if the index is 0, 1, 'foo', or a serialized array (oh wait, no, that’s PHP).
That's not an array, that's a string.
Someone is converting an array to a string and is using that as key.
A lot of languages could do it, and none of them should.