3 ms·
A lot of people seem to be hung up on the specific word problem he used. That's not really the point. The point is, if you do this: int foo = -1 unsigned int b
by PhasmaFelis 13y ago
A lot of people seem to be hung up on the specific word problem he used. That's not really the point. The point is, if you do this:
int foo = -1
unsigned int bar = 1
then "foo > bar" evaluates true. And it shouldn't, because that makes no sense. Languages should not violate the Principle of Least Surprise unless there's a really good reason.
- PhasmaFelis 13y agoAnd speaking of the Principle of Least Surprise, I'm curious as to why HN's comment system handles double newlines like a comment system, but single newlines like an HTML parser.