2 ms·
Five lines of code. Each day, just get to the point where you've written five lines of code, immediately when you get to work, before looking at twitter or new
by daxfohl 11y ago
Five lines of code. Each day, just get to the point where you've written five lines of code, immediately when you get to work, before looking at twitter or news or whatever. Tell yourself that once you get those five lines in, even if it takes two minutes, you can take the rest of the day off. Justify it because ultimately five lines is better than the zero lines you'd have written otherwise.
Likely, once those five lines are behind you you'll whip out 100 more because you've gotten over the hump. But don't think about that initially, lest it overwhelm you. Just think about the five lines and how much better it is to have those out of the way and the rest of the day to do whatever you want, while feeling like you've at least done something that day.
Use a website blocker like "stop procrastinating". Yes they just work by updating your `hosts` file. You may think "that won't work because I know how to override it", but they do: usually you're only going to twitter because it's a single button click away; if it involves more effort then it's not worth it. And yes you could write it yourself but I think don't: otherwise you'll spend too many hours gold-plating a dumb utility.
Finally, try to end each day with an interesting task five lines of code away from completion. It'll annoy the crap out of you as you toss and turn all night thinking about it. When you get to work you can't wait to get that done and out of the way.
- lisivka 11y agoGreat recipe to burnout yourself.