2 ms·
"Undefined Behavior is unacceptable regardless of the project!" This is an ambiguous statement as to whether it is about avoiding officially defined "undefined
by perl4ever 7y ago
"Undefined Behavior is unacceptable regardless of the project!"
This is an ambiguous statement as to whether it is about avoiding officially defined "undefined behavior" or about not programming in a language that has it. I agree that the former is impractical, but I think the latter is good advice.
If a language defines something as undefined, and if we agree that permits nasal demons, then undefined behavior is unthinkable, intolerable, yet inevitable. It's a spiral into insanity, because this philosophy is self-contradictory and those who claim to believe in it do not believe in it at the same time.
But if a language simply doesn't define everything, then nasal demons are off the table and we can all assume that we are reasonable people who are part of an advanced civilization that deals with exceptions and the unexpected on an adhoc basis.
- notzuck 7y agoDon't listen to this guy - he wants you to move your kids to another city because you have to be the only [insert minority here] on a team.