this post was submitted on 15 Sep 2023
390 points (93.5% liked)

Programmer Humor

19557 readers
633 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] BatmanAoD@programming.dev 5 points 1 year ago (1 children)
[–] FriendOfElphaba@sh.itjust.works 3 points 1 year ago (1 children)

Perchance programming with pointers has plunged as a percentage of programmers.

But thank you. I was hoping someone would notice that.

[–] dukk@programming.dev 1 points 1 year ago* (last edited 1 year ago) (1 children)

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

[–] FriendOfElphaba@sh.itjust.works 1 points 1 year ago (1 children)

It’s 0-255 when you’re indexing like that. 11111111b = 255.

[–] dukk@programming.dev 2 points 1 year ago

Oh sorry, you’re right. Amended my comment.