hairinmybellybutt@lemmy.world to Programmer HumorEnglish · 1 year agocall the doctor, the CS doctorlemmy.worldimagemessage-square42fedilinkarrow-up1421arrow-down129
arrow-up1392arrow-down1imagecall the doctor, the CS doctorlemmy.worldhairinmybellybutt@lemmy.world to Programmer HumorEnglish · 1 year agomessage-square42fedilink
minus-squaredukklinkfedilinkarrow-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.
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.