By then you might have a better idea of what kind of job you would like to do, so you can start looking for another job while you still have a job (which is always good in terms of negotiating power).
By then you might have a better idea of what kind of job you would like to do, so you can start looking for another job while you still have a job (which is always good in terms of negotiating power).
One thing which brings chaos into equation is that I am going to become a father in 5 months. This brings some emotional instability in my thinking. I am planning to take leave in 4-5 months.
Some part of me still has a hope that it can be solved without quitting the job...
Also, consider that if you switch jobs you probably want to tell the new employer that you plan to have parental leave in 5 months, otherwise they might opose, being a new hire...
Unless you did freelancing of course, but if you currently don't have much love for programming I don't think that is a good option.
So you should consider, with your current knowledge and skills, and not enjoying programming, if you would enjoy better maybe being a software development manager, or a technical recruiter, or technical sales or business analyst?
I went through almost the exact same situation except we had twins. I had a very tempting offer on the table when my wife disclosed that she was pregnant. I ended up staying and received paid leave and was able to stabilize myself after about 10 months such that I could move on to a new job.