Changes between Version 5 and Version 6 of SoftwareTrainingIntermediate


Ignore:
Timestamp:
Oct 31, 2019, 8:05:21 PM (6 years ago)
Author:
David Albert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SoftwareTrainingIntermediate

    v5 v6  
    44  * Never put cleverness before clarity
    55     * when choosing between a clever algorithm and one that will do the job and is easier to understand, use the latter.
    6      * document your code thoroughly so someone else can read and understand it.  Good code contains at least as many lines of ''good'' comments than of executable code...no matter how readable you think your code is.
     6     * document your code thoroughly so someone else can read and understand it.  Good code contains at least as many lines of ''good'' comments as of executable code...no matter how readable you think your code is.
    77     * clean up your code before you check it in.  Don't leave gobs of test code and debug print statements in your code.  When you make your code available to others, that should all be removed and the code should be clean and readable.
    88     * Understand [https://www.agile-code.com/blog/cohesion-vs-coupling-separate-concerns/ coupling vs. cohesion] deeply.  These are the two most important concepts in software engineering, everything else is an attempt to increase cohesion and reduce coupling.  Every block of code (class or function) should be a stand-alone black box with cleanly defined inputs and outputs.  You should not need several files open to understand how one method works.