Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
@taigrr the "meme" is implying it's wrong to count from 1 & that all programmers count from 0 all the time.
That's bullshit tbh -
There’s no reason why counting should start at 0. Indexes should, however, start at 0.
-
If we need a variable to track the number of some events, we initialize it with 0. As soon as the first event occurs, we increment the variable to 1. So we begun counting with 1 and the variable correctly reflects be number of events. And that only works when the initial value is 0. This is my view on the whole story of starting with 0 or 1.
-
hjk10157316yPoor son he was just allocating memory. Dad just indexes and LABELS everything. He should GOTO HELL;
-
All these memes could be so much more funny. Son, which number planet are we from the sun? Wrong, we start indexing from 0.
There's no funny in that but that's all they would need to do to make these correct rather than cringe.
Related Rants
a programmers dad be like...
joke/meme
funny