|
|
|
|
|
by maninalift
4443 days ago
|
|
Surely the key point is that most of us read indentation first, it doesn't matter whether you are witting C with semicolons and curlies or ruby with no semicolons and "end"s or lisp with parens, what the programmer really reads first is the indentation. Those other things are sometimes checked afterwards. Therefore there are two reasonable courses of action to prevent this kind of problem: * use automatic code indentation
* use a whitespace significant language
The second is absolutely the better choice. You may disagree but you are wrong. This is not a matter of taste, it is a matter of programming language syntax actually reflecting what the programmer reads. |
|
Ultimately, well-formed indentation and whitespace is important, as you say. But whitespace significance is not a panacea.