|
|
|
|
|
by LeonB
2057 days ago
|
|
I used to code on the bus while commuting to work. There were many interruptions that meant it would only be successful if I optimised it such that I could start/stop at a moment’s notice. Through this experience I learned that you definitely can do highly productive programming work in tiny burts. Patterns like these were helpful to getting there: - “do the simplest thing that could possibly work” - yagni - shorten the code-compile-test loop - don’t put up with slow tools And others made it super super efficient. |
|
The reason I'm nitpicking this example is because I've found it helps substantially to know that even if I only do 2 minutes of the thing, I'm making progress. Otherwise it's very hard to trick my brain into doing the thing. I don't like the "wear running shoes" example either. I have found that when I plan habits like that I maybe do them once or twice, then never again. There is no reward for me without the progress and in the case of the coding example would only bring me frustration.