Plot twist, neither cared about the table number

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

DROP TABLE 01;

Dangit Bobby!

I work with juniper switches 0 is my 1

Fuck juniper fr though

Anna
link
fedilink
23
edit-2
1h

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

Happy now all you English majors.

MobileDecay
link
fedilink
15h

🐕🐕🐕

Bob
link
fedilink
2912h

you dogged a bullet

😳

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

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

She was a lua girl, he was every other programming language guy. It was not ment to happen.

Hey, don’t forget the Matlab people

Also the plot of Before Sunset 🏆

Isn’t the guy at the zeroith table?

Yes, and if he texted “Hey, I’m at the zeroith table” and the woman replied with the sibling comment then you know to run far and run fast.

@TwilightKiddy@programming.dev
link
fedilink
English
26
edit-2
17h

There is no such thing as “zeroith”. Does not matter which numbers you slap on the tables, the one with the lowest number will always be the first. The word “first” has nothing to do with indices, it’s just an antonym for “last”.

lad
link
fedilink
English
3
edit-2
7h

There’s no such thing as “zeroith” because it’s called “zeroth — being numbered zero in a series”

This works for building storeys, this would work equally well for tables. The only reason this is not used often is because the series are rarely zero-based in anything that doesn’t also want to equate index and offset.

You’re right that first may be read as “opposite of last”, that would add to the confusion, but that’s just natural language not being precise enough.

Edit: spelling

Edit2: also, if you extend that logic, when you’re presented with an ordinal number, you would need to first check all the options, sort them, and then apply the position you’re asked, that’s not really how people would expect ordinal number to be treated, not me, at the very least

That’s a problem when you get to the fourth.

@0ops@lemm.ee
link
fedilink
413h

I kind of brought this up in another comment, that “first” and “1st” aren’t really the same thing. Which is confusing when you extend that to fourth/4th five/5th. I don’t generally see someone write “zeroith”, but I’ll see “0th”.

And here I thought people write “1st” because they are lazy and want to press 3 keys instead of 5.

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

@dohpaz42@lemmy.world
link
fedilink
English
916h

The problem is that they both are contextual and can mean any position in a list/array. The starting index or starting offset is generally zero, but could be one, depending on the language used.

i wonder why people haven’t made a language that starts indexing at 2 yet. maybe some day

Maybe this could be a feature in brainfuck or COBOL.

god i hope so

Zagorath
link
fedilink
216h

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.

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

Yes they are presented in the programmer wrong. The first thing in memory should have offset 0 and index 1

1st table is not equal to table 01 because there no 0st table

@ikidd@lemmy.world
link
fedilink
English
08h

Nonbinary

@tunetardis@lemmy.ca
link
fedilink
English
416h

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”.)

I still mess this up for lists in Python…

Don’t wanna state the obvious, but it looks like they still ended up staring at each other for the rest of the evening.

They have shown that they still love each other, so hope they can work with their one irreconcilable difference.

👍Maximum Derek👍
link
fedilink
English
3417h

I love the idea that they’re at two adjacent tables, each one staring at the other wondering why they hate them.

They hate each other because they are intolerant to one another’s index choices

If you love me meet me at first floor

Americans 😢 British 🤷‍♂️

The Major: “Fighting retreat at first light”

Me alone in the trench the morning after next, woken by German voices: “Oh no!”

explanation

Exactly what this reminded me of. Thanks.

Create a post

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.
  • 1 user online
  • 120 users / day
  • 257 users / week
  • 744 users / month
  • 3.72K users / 6 months
  • 1 subscriber
  • 1.48K Posts
  • 32.7K Comments
  • Modlog