3 ms·
"In Go, one has to always write the if-else bodies in curly braces (and, the opening brace should always be on the same line)." If you really want to twist the
by jerf 8y ago
"In Go, one has to always write the if-else bodies in curly braces (and, the opening brace should always be on the same line)."
If you really want to twist the knife... even Perl 5 gets this right. Even Perl 5 thinks that naked if/else bodies is too crazy and error prone.
- renox 8y ago'even Perl5'? Perl5 has also 'use strict' which ensure that variables ate declared before usage, a feature that Python doesn't have AFAIK.