Things said once or twice or more

Pareto Principal🔗

Aka 20/80 rule, 80/20 rule, law of the vital few, principle of factor sparsity.

Do the 20% of the work that gets you 80% of the benefit.

https://en.wikipedia.org/wiki/Pareto_principle

Make it work, make it right, make it fast🔗

Make it work, make it right, make it fast -- Kent Beck

  1. First be very practical and write a scrappy solution as quickly as you can, just to prove a point. In other words, write a proof of concept.

  2. If it works, spend time planning, "architecting" a "proper" solution for the long term. Don't worry too much about performance, but keep it in mind.

  3. Optimize and iterate. Be principled. Profile. Make measurements. Use flamegraphs. Humans are notoriously bad at predicting machine runtime characteristics, so optimize based on measurements. Read the Rust performance book

This quote plays into the next one.

Premature optimization🔗

Premature optimization is the root of all evil. -- Donald Knuth