hairinmybellybutt@lemmy.world to Programmer Humor@programming.devEnglish · 11 months agocall the doctor, the CS doctorlemmy.worldimagemessage-square42fedilinkarrow-up1419arrow-down129
arrow-up1390arrow-down1imagecall the doctor, the CS doctorlemmy.worldhairinmybellybutt@lemmy.world to Programmer Humor@programming.devEnglish · 11 months agomessage-square42fedilink
minus-squareFriendOfElphaba@sh.itjust.workslinkfedilinkEnglisharrow-up3·11 months 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-211 months 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·11 months agoIt’s 0-255 when you’re indexing like that. 11111111b = 255.
minus-squaredukk@programming.devlinkfedilinkarrow-up2·11 months 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.