this post was submitted on 19 Sep 2024
1401 points (98.5% liked)

Programmer Humor

32070 readers
550 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] NigelFrobisher@aussie.zone 6 points 19 hours ago

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

[–] FatTony@lemm.ee 2 points 17 hours ago

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

[–] hakunawazo@lemmy.world 3 points 1 day ago* (last edited 1 day ago)

Even if the table is correct the instruction needs to be more precise. Is it table header or table body and in which table column?

[–] lustyargonian@lemm.ee 48 points 2 days ago (3 children)

If you love me meet me at first floor

Americans 😢 British 🤷‍♂️

load more comments (3 replies)
[–] PeriodicallyPedantic@lemmy.ca 29 points 2 days ago (4 children)

🙅 zeroth, first, second, third
👉 Zerost, onest, twost, threest

load more comments (4 replies)
[–] BlindFrog@lemmy.world 9 points 1 day ago

IS THIS Love Advice From the Great Duke of Hell??

(it's a webcomic, I loved the story)

[–] AnnaFrankfurter@lemmy.ml 27 points 2 days ago* (last edited 1 day ago) (2 children)

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

Happy now all you English majors.

load more comments (2 replies)
[–] LillyPip@lemmy.ca 17 points 2 days ago (2 children)
load more comments (2 replies)
[–] sgibson5150@slrpnk.net 17 points 2 days ago (7 children)

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

[–] Zagorath@aussie.zone 2 points 2 days ago (2 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.

load more comments (2 replies)
load more comments (6 replies)
[–] lugal@sopuli.xyz 3 points 2 days ago

What more can I say

[–] Philo_and_sophy@lemmygrad.ml 1 points 2 days ago

Also the plot of Before Sunset 🏆

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

load more comments (1 replies)
[–] psud@aussie.zone 1 points 1 day 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 day ago

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

load more comments (2 replies)
[–] lefixxx@lemmy.world 115 points 2 days ago (10 children)

She is right, using 0 index for physical stuff is stupid.

[–] jmcs@discuss.tchncs.de 37 points 2 days ago (11 children)

Your rulers start at 1? That sounds annoying.

[–] gallopingsnail@lemmy.sdf.org 10 points 2 days ago* (last edited 2 days ago) (2 children)

Your job is to move apples from one bin to another. You pick up the first one and set it in the other bin, and say "zero."?

load more comments (2 replies)
load more comments (10 replies)
load more comments (9 replies)
load more comments
view more: next ›