this post was submitted on 19 Sep 2024
1482 points (98.4% liked)

Programmer Humor

32396 readers
517 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] -1 points 1 month ago* (last edited 1 month ago) (8 children)

Why the fuck would you spell it "1st" if it's not 1?

Edit: Which is not pronounced "onest". I think people might be missing the point here; I'm actually a fan of zero indexing.

[–] [email protected] 8 points 1 month ago (1 children)

I feel like the joke would've landed better if it said "first". I know it's pronounced the same way, but I'm gonna argue anyway that there's a subtle difference. I've heard 0th used in cs to describe what was at the 0-index, so in that context 1st would be"second", but "first" generally means "nothing before it". English is weird. I wonder if anyone knows whether the word "first" or "1st" came 1st (lol)?

[–] [email protected] 2 points 1 month ago* (last edited 1 month ago) (1 children)

Ordinal vs. cardinal. It's "first" not "onest", right? Even the ancient proto-Germanic speakers could tell there's a difference. (In fact, it's basically a contraction of "foremost", and has nothing to do with numbers; their weak numeracy was an advantage on this topic)

If we weren't implicitly choosing 1-indexing it would be 1nd for "second" (and still not "onend" or something). That breaks down once you get to third and fourth, though.

[–] [email protected] 1 points 1 month ago (1 children)

programmer linguistigs is certainly something to behold.

[–] [email protected] 1 points 1 month ago

Fun fact, Noam Chomsky's linguistic theories were and are the foundation of parsing.

load more comments (6 replies)