I love coding. For me, there is nothing more satisfying than sitting down with a project, identifying problems and trying to solve them, and emerging victorious some time later. It can be something as small as writing a parser for a fictive language (with the hopes of writing a compiler eventually): The rush when I can finally run "parse sampleProgram.prog" and I get the desired AST is amazing.
However, coding is something that takes considerable time, not to mention the large amounts of mental energy needed to work on even small projects, and sometimes I simply don't feel like I would be able to complete anything of significance. How many times haven't I sat in front of my computer at 10pm, knowing that I should head to bed in an hour or two, with plenty of coding projects I want to work on, but knowing that starting probably wouldn't lead very far, simply because of the investment of time and energy needed to produce anything.
Those are the times where I resort to games, movies, TV-shows, books or similar. Lately I've been trying to focus more on reading books, since they almost always leave me with a more lasting feeling of satisfaction, but in the past most of this time has been spent playing games.
I want to get better at coding and I want to work more on some of my projects (I am notoriously bad at finishing stuff, something else grabs me and I lose interest, or maybe it's because I get demotivated every time I encounter something hard), so I wish that I could get more stuff done in those late hours.
Have others experienced the same, and how have you dealt with it? I realize that sometimes your brain needs to unwind, but I feel like I'm not getting enough out of my evenings. Does anyone have any suggestions for cool programming projects or exercises that could be worked on when you're a little bit tired at the end of the day? How do you motivate yourself to work on those little pet projects when all you want is to kick back and watch a silly movie?