1170
Tell me the truth ... (lemmynsfw.com)
submitted 2 months ago by [email protected] to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 5 points 2 months ago

The mistake was that they created a type that behaves like an array in every case except for bool, for which they created a special magical version that behaves just subtly different enough that it can break things in confusing ways.

[-] [email protected] 3 points 2 months ago

Could you provide an example?

[-] [email protected] 1 points 2 months ago

The biggest problem is that each element doesn't have a unique memory address; iterators aren't just pointers.

this post was submitted on 15 May 2025
1170 points (100.0% liked)

Programmer Humor

25151 readers
1702 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 2 years ago
MODERATORS