Make It Work No Matter What
READ TIME - 2 MINUTES
In this article, you’ll learn a simple coding strategy...
Here it is:
Make it work no matter what. As soon as possible!
Prioritize functionality first, then refactor.
Simple but very powerful.
This approach helps you code faster and with less frustration.
Spending too much time perfecting your code from the start can slow progress. If you focus on getting the feature to work first, you reduce stress.
Many developers fall into the trap of premature optimization or overthinking. They focus on writing perfect code from the beginning, which leads to:
frustration
longer development times
Thus, missed deadlines.
The "Make It Work First" Approach
When faced with a new coding task, don’t aim for perfection immediately.
Prioritize getting a functional version of the feature up and running, even if the code isn’t pretty.
You stay productive and it gives you a solid foundation to refine later.
Make it work, make it right, make it fast.
Kent Beck
After more than 6 years working as a software developer, I still use this approach.
Here are the benefits I find in this approach:
Reduces coding stress
Speeds up development
Supports incremental improvements
Refactor and improve after achieving a working version.
Incremental improvements lead to cleaner, more maintainable code.
Conclusion
Instead of staring at the screen frustrated...
Focus on making it work no matter what. As soon as possible!
If you think more about making the best code...You will always be very nervous, and it will take longer to finish the task.
The first thing is making the code work.
You can improve your implementation more calmly once you get it working.
I get to finish the developments much faster this way.
This mindset works like a charm!
You don’t have to believe it just because...
Next time you find yourself stuck in development, try it yourself and see the results.
PS: Above