baatliwala@lemmy.world to Programmer Humor@programming.dev · 1 month agoLook at the way he writes for loops too smhlemmy.worldexternal-linkmessage-square40fedilinkarrow-up1449
arrow-up1449external-linkLook at the way he writes for loops too smhlemmy.worldbaatliwala@lemmy.world to Programmer Humor@programming.dev · 1 month agomessage-square40fedilink
minus-squarelime!@feddit.nulinkfedilinkarrow-up20·1 month agoarrays start at (offset) zero. lists start at (position) one. fight me.
minus-squareCargon@lemmy.mllinkfedilinkarrow-up3·1 month agoOnly edge lords still mentally stuck in CS101 conflate indices and offsets.
minus-squarelime!@feddit.nulinkfedilinkarrow-up6·edit-21 month agogood morning to you too. remember to have your coffee before going on the internet.
minus-squareCargon@lemmy.mllinkfedilinkarrow-up1·1 month agoI am agreeing with your distinction between indices and offsets.
minus-squareDon't forget to stay hydrated.🍉🍉🍉🍉🍉@sh.itjust.workslinkfedilinkarrow-up3·1 month ago arrays start at (offset) zero i.e.: *(array + i)
arrays start at (offset) zero. lists start at (position) one. fight me.
Only edge lords still mentally stuck in CS101 conflate indices and offsets.
good morning to you too. remember to have your coffee before going on the internet.
I am agreeing with your distinction between indices and offsets.
in a very agressive way. hence coffee.
i.e.:
*(array + i)