It's very hard to go against this advice. So hard that many people stay in jobs that make them utterly miserable and cause them to miss better opportunities. I've watch my ex-colleagues take pay-cuts and benefit-cuts because they can't go against this advice.
I always quit as soon as I want to and on reflection I'm always glad that I did.
If you're in a job that's not right, and you're a flexible and skilled worker, it's self-evident that there's something better.
If you can't imagine anything you could fill your time with for 2 months out of work, your current job might just be giving you a paper-thin facade of employability, and you should be worried.
Of course on reflection you're always glad you did; you found something else quickly. If you instead went a couple months without anything, you'd feel differently. That speaks more about the history of the market for devs, not about the wisdom in quitting abruptly.
A flexible and skilled worker? You mean a dev in a tech hub, or at least one who is willing to move. Once you start looking at people who aren't developers, who don't live in an area filled to the brim with jobs for their industry, and who don't want to move, this advice is -terrible-.
In general, even if you're certain you can line up something better quickly...will another couple weeks where you are kill you? As even if you're right, that means you still have a safety net, aren't going to be pressured to take something that isn't right for you, and are going to still be making money, with no gaps in employment history. And if you're wrong, you won't find yourself unemployed.
>Of course on reflection you're always glad you did; you found something else quickly.
Not really, no. On at least one occasion, I've been desperate and taken terrible jobs to cover my rent. I learned a lot more from the experience than I would have staying in my dead-end job that was over for me.
>A flexible and skilled worker? You mean a dev in a tech hub
Not really, no.
>"will another couple weeks where you are kill you?"
Not really, no.
But if you can't quit for the sake of this couple of weeks, why will you be able to quit for the following couple of weeks, and the couple of weeks after that?
It has to be a personal decision but I observe that people are happier when they ignore risk-averse advice that only permits already-powerful employers to behave very badly, and try the contrary.
I always quit as soon as I want to and on reflection I'm always glad that I did.
If you're in a job that's not right, and you're a flexible and skilled worker, it's self-evident that there's something better.
If you can't imagine anything you could fill your time with for 2 months out of work, your current job might just be giving you a paper-thin facade of employability, and you should be worried.