For any project, follow these steps
Make it work
Make it right
Make it fast
In this exact order
It's important. Let me explain why
Thread
Make it work
Make it right
Make it fastIn this exact order
It's important. Let me explain why
Thread
Make it workWhen starting a project
Experiment
Figure out how it should work
Cut corners
Make ugly hacksDo anything it takes to solve the problem — and have a working system
Make it rightWhen it's validated, we improve it:
Make it more stable
Get rid of the hacks
Polish the codeHere we pay back the technical debt from step
Make it fastOnce it serves users
Learn the workload
Find bottlenecks
Tune our applicationHere we optimize the solution from step
If we don't follow the steps in this order, we may get into premature optimization
We lose focus and spend time doing micro-optimizations instead of bringing value
We lose focus and spend time doing micro-optimizations instead of bringing value
Premature optimization can take many forms:
Making our app faster without proper benchmarking
Designing the perfect architecture
Getting the OOP design right from the start
Don't do it, focus on making it work first
Making our app faster without proper benchmarking
Designing the perfect architecture
Getting the OOP design right from the startDon't do it, focus on making it work first
Read on Twitter