4 ms·
If I'm feeling miserable about the code, I generally shift gears and work on a more straightforward area of my project. Ideally some class which is self-contain
by charlesism 9y ago
If I'm feeling miserable about the code, I generally shift gears and work on a more straightforward area of my project. Ideally some class which is self-contained and easier to reason about. More often than not, an hour of that gets me back into "flow" and I can go back to what I was originally doing.