Ali Spittel

Extreme makeover: code edition  ↦

Ali Spittel lays out 7 excellent tips for writing cleaner code.

  1. Use descriptive naming
  2. Functions should do one thing well
  3. Comments should tell the “why”

It’s imperative to first learn rules like these, follow them for awhile, and then (and only then) you will be equipped to know when (and when not) to break the rules.


Sign in or Join to comment or subscribe

0:00 / 0:00