And this is something that I actually intended to bring this point up in a thread I saw yesterday regarding thinking time and typing time but I procrastinated on it until today.
I follow the same principle whenever I type a reply. I'm not gonna pretend that the text I'm currently typing is a draft, but thinking about the things that are worth mentioning is something that I can afford after I started typing a response to your comment, if that makes sense.
- the vision of what you want to achieve
- the skill to achieve it
- the time to build it
I find that time is the most difficult problem to solve, especially since I had a family.
Your family is something that you're trying to build. Put into that the time needed. If you wind up with not enough time for writing a program, that's fine. In the battle for time between your family and your program, the program should lose.
One of my biggest failures was focusing too much on my pet projects when I had small children.
I would say that I have been “lucky” that my childhood was a bit more difficult than some, so I had a clear vision of who I didn’t want to be, and that meant some personal sacrifices, especially around hobby projects.
I hope you’ve managed to rebalance now your kids are presumably a bit older.