|
|
|
|
|
by computerjunkie
4264 days ago
|
|
>>>learning to write readable, maintainable code. Which is why I love python. Have you seen some poorly written JavaScript that's poorly indented and has no comments? Until there is a universal guideline for JavaScript and that developers follow, I won't have a go at it again. |
|
Much more important is to pay attention to system-level measures such as modularity, abstraction, (de)coupling, and documentation. 99% of maintenance nightmares are due to code that is not modular (and thus not easily replaced), is abstracted too much or too little (leading respectively to obtuse or repetitive code), highly coupled (causing brittleness when assumptions are broken), or poorly documented.
(There are probably others, but these are the first to come to my head. These measures are also not necessarily orthogonal.)