this post was submitted on 19 Sep 2024
746 points (100.0% liked)

Programmer Humor

852 readers
24 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 29 comments
sorted by: hot top controversial new old
[–] lustyargonian@lemm.ee 25 points 1 week ago

If you love me meet me at first floor

Americans 😒 British πŸ€·β€β™‚οΈ

[–] DarkDarkHouse@lemmy.sdf.org 25 points 1 week ago

It’s for the best

[–] AnnaFrankfurter@lemmy.ml 21 points 1 week ago* (last edited 1 week ago) (1 children)

Hey, if she thinks 1 is 1st index then you ~~dogged~~ dodged a bullet and deserve better.

Happy now all you English majors.

[–] MadBob@feddit.nl 21 points 1 week ago

you dogged a bullet

😳

[–] sasquash@sopuli.xyz 20 points 1 week ago

maybe she's a lua developer

[–] PeriodicallyPedantic@lemmy.ca 18 points 1 week ago (1 children)

πŸ™… zeroth, first, second, third
πŸ‘‰ Zerost, onest, twost, threest

[–] psud@aussie.zone 1 points 1 week ago (1 children)

Good luck standardizing English

[–] PeriodicallyPedantic@lemmy.ca 3 points 1 week ago (1 children)
[–] Tlaloc_Temporal@lemmy.ca 2 points 1 week ago

Northern England just got a new nickname.

[–] sgibson5150@slrpnk.net 12 points 1 week ago (1 children)

Wouldn't it be nice if documentation used the words index and offset consistently?

[–] Zagorath@aussie.zone 2 points 1 week ago (1 children)

Aren't those two the same thing? At least in C-style arrays, which might not be how they're handled under the hood, but is at least how most languages present it to the programmer.

[–] ReversalHatchery 3 points 1 week ago

in my understanding offset is technically the "relative index", or how much you have to go further

[–] LillyPip@lemmy.ca 12 points 1 week ago

DROP TABLE 01;

[–] Lettuceeatlettuce@lemmy.ml 10 points 1 week ago

I still mess this up for lists in Python...

[–] Zwiebel@feddit.org 10 points 1 week ago (1 children)

I love how they're looking at each other

[–] PolarisFx@lemmy.dbzer0.com 4 points 1 week ago

God yes, you can clearly see from the background scene that while at different tables they can clearly see each other. All this bickering is madness

[–] NigelFrobisher@aussie.zone 6 points 1 week ago

This thread is a great example of why they don’t like to let (most) software developers talk to the customers.

[–] tunetardis@lemmy.ca 4 points 1 week ago

This could be why Obiwan wound up a hermit? (Programmers of my generation at least talk about "Obiwan errors" because his name sounds like "off-by-one".)

[–] CanadaPlus@lemmy.sdf.org 4 points 1 week ago* (last edited 1 week ago) (2 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.

[–] 0ops@lemm.ee 8 points 1 week 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)?

[–] CanadaPlus@lemmy.sdf.org 2 points 1 week ago* (last edited 1 week 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.

[–] Umbrias 1 points 1 week ago (1 children)

programmer linguistigs is certainly something to behold.

[–] CanadaPlus@lemmy.sdf.org 1 points 1 week ago

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

[–] psud@aussie.zone 1 points 1 week ago (1 children)

They said 1st as an abbreviation of first (it's a normal abbreviation 1st, 2nd, 3rd ... 7th abbreviate first, second, third ... seventh)

[–] CanadaPlus@lemmy.sdf.org 1 points 1 week ago

Sure, but you have to see how it's an own goal if you're showing up to table 0.

Plot twist, neither cared about the table number

One went to the first table produced, the other to the first table placed

[–] HiddenLayer555@lemmy.ml 3 points 1 week ago

Easy solution: Switch to table UUIDs.

[–] lugal@sopuli.xyz 2 points 1 week ago

What more can I say

[–] FatTony@lemm.ee 1 points 1 week ago

No, NO! She said the FIRST table. Not table ONE. Why are women like this???? /s