chakrit / write-better-code

A collection of topics on how to write a more readable and maintainable code, explained in details.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WRITE BETTER CODE

A collection of topics on how to write a more readable and maintainable code, explained in as much details as I can.

Send feedback/suggestions to write-better-code@chakrit.net

TODO

My personal notes on upcoming topics

  1. Inverted IFs
  2. Fail fast-ing
  3. Precondition/Postcondition method structuring
  4. Loop conversion techniques
  5. Boolean algebra
  6. Principles
    • Happy Paths, Sad Paths
    • Code Locality
    • SoC at microscopic levels
    • Degree of separation.
  7. Switching on type field.

About

A collection of topics on how to write a more readable and maintainable code, explained in details.


Languages

Language:Shell 100.0%