hairinmybellybutt@lemmy.world to Programmer Humor@programming.devEnglish · 1 year agocall the doctor, the CS doctorlemmy.worldimagemessage-square44fedilinkarrow-up1415arrow-down128
arrow-up1387arrow-down1imagecall the doctor, the CS doctorlemmy.worldhairinmybellybutt@lemmy.world to Programmer Humor@programming.devEnglish · 1 year agomessage-square44fedilink
minus-squareFriendOfElphaba@sh.itjust.workslinkfedilinkEnglisharrow-up3·1 year agoPerchance programming with pointers has plunged as a percentage of programmers. But thank you. I was hoping someone would notice that.
minus-squaredukk@programming.devlinkfedilinkarrow-up1·edit-21 year agoWell, you don’t really see many people accessing lists with pointers directly. Also 0-indexing does give us an extra number to index with(say 1-255 vs 0-255) Edit: 0-255, not 0-256
minus-squareFriendOfElphaba@sh.itjust.workslinkfedilinkarrow-up1·1 year agoIt’s 0-255 when you’re indexing like that. 11111111b = 255.
minus-squaredukk@programming.devlinkfedilinkarrow-up2·1 year agoOh sorry, you’re right. Amended my comment.
“used to”?
Perchance programming with pointers has plunged as a percentage of programmers.
But thank you. I was hoping someone would notice that.
Well, you don’t really see many people accessing lists with pointers directly. Also 0-indexing does give us an extra number to index with(say 1-255 vs 0-255)
Edit: 0-255, not 0-256
It’s 0-255 when you’re indexing like that. 11111111b = 255.
Oh sorry, you’re right. Amended my comment.