Do it, Perfect it, Improve it

Sep 25, 2023 by manish

“First do it, then do it right, then do it better.” – Addy Osmani

I have to remind myself of this frequently – “Progress not Perfection”

Anytime I am working on a new feature, here is what I follow:

1️⃣ Do it First: First get it working with a hacky prototype – brute force solution is fine! Then clean up the code and do it right. The key is to “get it done”.

2️⃣ Do it Right: With a skeleton and prototype in place, I shift focus to refining and cleaning up, looking to transform the ‘first draft’ into a more robust version.

3️⃣ Do it Better: Then ask a question – “Can it become faster?” Fixing obvious performance bottlenecks, and only looking towards scaling if necessary.

Refactors can wait until you start seeing problems

An iterative mindset helps you make progress a lot faster