Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 576 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 576 Bytes

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.