Skip to content

Instantly share code, notes, and snippets.

@quietcricket
Created November 13, 2017 04:38
Show Gist options
  • Save quietcricket/cfc398cdce6d3478b122eaf1b70a2efb to your computer and use it in GitHub Desktop.
Save quietcricket/cfc398cdce6d3478b122eaf1b70a2efb to your computer and use it in GitHub Desktop.
Coding with considerations
  • Sacrifice storage for computing time/power: store calculated values and avoid batch job
  • Sacrifice best OOP/DRY practice to simplify complexity: avoid having too many levels of inheritance and compositions. The human brain cannot handle too much info.
  • Avoid having too many helper/factory files: when modifying one function, we shoudn't need to jump back and forth from many other files.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment