4 ms·
> A programmer needs to be particularly clueless and specially incompetent to write code that has unexpected consequences No. That's called "a bug".
by amptorn 9y ago
> A programmer needs to be particularly clueless and specially incompetent to write code that has unexpected consequences
No. That's called "a bug".
- geezerjay 9y ago> No. That's called "a bug". You need to actively go against the most basic aspects of the programming language you're using to force undefined behavior into your code. So, it's not merely a bug. It's the direct result of incompetence, and one which no programmer can pin on his tools or even the programming language.
- amptorn 9y ago> You need to actively go against the most basic aspects of the programming language you're using to force undefined behavior into your code. Adding two ints together is potentially undefined behaviour.