What's the programming language for you?

Undefined behaviour is such a minefield, significantly exacerbated by the fact that there are many cases where behaviour is officially undefined, but is nevertheless handled consistently by most of the compilers you’re likely to run across

running with a sanitizer every once in a while can catch a lot of silly code bugs

2 Likes