TJL #50: Delete all your code (Daily productivity #25)
Simple tips & trick to be more productive
Welcome back Daily Productivity #25. In this newsletter I share interesting stories aimed at making you more productive.
Read today’s tip down below! 👇
Daily Productivity Tip #25
Delete all your code (and then set it up again).
Forcing functions, a term borrowed from Interaction Design, surface problems in such a way that they are almost impossible to ignore.
By applying a forcing function, the problem becomes so painfully obvious that there is no other option than to fix it.
Here are three examples of forcing functions when writing software:
Dig out an old or cheap phone and try to run your app on it. Any major performance bottlenecks will suddenly become obvious
Pretend you’re a new developer in the team. Delete the project from your development machine, clone the source code and set it up from scratch. Gaps in the Readme file and outdated setup scripts will soon become obvious
Put your software into the hands of a real user without telling them how to use it. Then carefully watch how they actually use it
This second forcing function resonated with me, because it was forcefully applied on me!
Recently I was on-boarded onto a new project and… well… the experience wasn’t all that great. There was no README, no description of the data, the code was a big pile of scattered notebooks, and there was just stuff everywhere. It was a mess.
In end, I got on-boarded, but it just took a bit longer. By deleting your code every once in a while you basically force yourself to experience the project as if you were new. This makes it painfully obvious what gaps there are in your README and other setup files.
So my advice to you is to every once in a while just delete all your code and try to get set up from scratch.
(I just realised that this tip ties in really well with starting with writing your README. By writing your README first you already have some skeleton of how you want people to interact with the project.)
Thank you for reading!
That was today’s issue of the Daily productivity Newsletter 🚀
Daily Productivity is a newsletter in which I share practical and effective tips on how to become more productive.
Liked this article? Share it with your friends by clicking here!
As always, you can find me on my website janmeppe.com or on Twitter at @janmeppe.
Previous TJLs
Read my previous TJLs by following on the links down below:
TJL #6: How to remember the difference between margin and padding
TJL #7: According to Jeff Bezos there are two types of failure
TJL #27: Be aware of the spotlight effect (Daily productivity #2)
TJL #28: Start with the upper-left hand brick (Daily Productivity #3)
TJL #30: Start with writing your README (Daily productivity #5)
TJL #35: Use the Pomodoro technique (Daily productivity #10)
TJL #36: How to handle your negative feelings (Daily productivity #11)
TJL #37: Imagine the work, not the reward (Daily productivity #12)
TJL #38: Separate your writing from editing (Daily productivity #13)
TJL #41: Don't be ashamed to ask for help (Daily productivity #16)
TJL #48: Focus on interests, not positions (Daily productivity #23)