Tag Info

New answers tagged

0

Some of these answers are terrible. I can't understand why they are being up-voted. Answers like 'If your peers can read it', 'if you go back to it and it makes sense', seriously? How do I measure these empirically? What If I am designing code by myself and I don't have peers? Do I write code and wait for 6 months before checking if it is good code? Of ...


3

In addition to existing answers, I would like to add: Being simple, small, well-defined and limited. Justification: When each of these descriptions are negated and applied to a piece of software, it will imply an increasing difficulty of understanding its source code. Being modular, and conforms to (1) LSP as well as (2) POLA. LSP: Liskov ...


3

Automated testing A comprehensive suite of automated tests is perhaps the most useful feature of a code-base when it comes to enabling someone with no prior familiarity to make substantial changes. Usually when entering a new code-base you have low confidence that changes won't have unintended effects, so you start small and as you become more confident ...



Top 50 recent answers are included