3 ms·
Paragraph breaks, please. > If the language can surprise you easily and lets you write weird code that is going to work a way different from what one will prob
by MaxBarraclough 9y ago
Paragraph breaks, please.
> If the language can surprise you easily and lets you write weird code that is going to work a way different from what one will probably assume intuitively - that's a language made wrong.
I agree that much of what is unhelpful about C could be changed without compromising its principles. Implicit conversions, for instance, and implicit fall-through.
Fortunately there are compile-time warnings and run-time checks (such as Clang's 'ubsan') to take the edge off.