3 ms·
If I don't add a brace, I'll get an immediate error that something doesn't add up. If I mess up indentation, the program will carry on as if nothing had happen
by hajile 5y ago
If I don't add a brace, I'll get an immediate error that something doesn't add up.
If I mess up indentation, the program will carry on as if nothing had happened.
- b3morales 5y agoThis is not really true in practice. It is the same thing as accidentally moving a line across a brace in a brace-delimited language. The incorrectly-indented line will generally blow up at runtime or fail to compile, because it's in the wrong scope.
- xigoi 5y agoIf you misplace a brace (which is the true equivalent of messing up indentation), the program will also carry on.