PotatoesFall@discuss.tchncs.de to Programmer Humor@programming.dev · 6 months agoThe easiest problemdiscuss.tchncs.deimagemessage-square103fedilinkarrow-up1637arrow-down116file-text
arrow-up1621arrow-down1imageThe easiest problemdiscuss.tchncs.dePotatoesFall@discuss.tchncs.de to Programmer Humor@programming.dev · 6 months agomessage-square103fedilinkfile-text
minus-squareowenfromcanada@lemmy.worldlinkfedilinkEnglisharrow-up75arrow-down1·6 months agoNah, I name all my variables after my homies. int dave = 0;
minus-squareowenfromcanada@lemmy.worldlinkfedilinkEnglisharrow-up53·6 months agoIn zero-based indexing, zero is #1.
minus-squareXTL@sopuli.xyzlinkfedilinkarrow-up2·6 months agoBut they had to be enterprise, so he became a number one factory.
minus-squarecodfishjoe@lemmy.worldlinkfedilinkarrow-up13·edit-26 months agoHis best friends index starts at 0
minus-squaresmeg@feddit.uklinkfedilinkEnglisharrow-up7·6 months agoAh, the XCOM approach. Now you look after those variables and get sad when you have to delete them.
Nah, I name all my variables after my homies.
int dave = 0;
does dave know he’s a zero?
In zero-based indexing, zero is #1.
Dave was number one!
But they had to be enterprise, so he became a number one factory.
His best friends index starts at 0
Ah, the XCOM approach. Now you look after those variables and get sad when you have to delete them.