In my opinion the prerequisites are a natural aptitude and a genuine curiosity.
It can be simultaneously true that they are struggling and unlikely to succeed now, and that their natural aptitude is not being realized due to non-work factors.
Hell, one time my friend died suddenly, and I failed out of every project I was on and developed a ton of health problems. Since then, I've gone back to my natural state, but it was hard. Anyone looking at me during that time would have seen a distracted fuckup. I probably would have been given an ADHD diagnosis and drugged heavily, were it not for the acute signal from the proximity of a good friends sudden murder.
1% of depression is chronic.
>The good news is that with the right treatment and support, most people with depression can make a full recovery. (https://www.nhs.uk/mental-health/conditions/depression-in-ad...)
I can't advise for genuine medical cases, but for the average case of anxiety/depression you can over come it. For men I would recommend the following channel: https://www.youtube.com/@ElishaLong
Elisha Long's content is not for me. I also don't think it's relevant to the topic of mental health.
Speaking from experience, I can say that when I prioritized adequate time to do activities I find challenging and enjoyable, that were deliberately unrelated to my work-life in any way, that my mental health improved.
The depression didn't disappear. But it became manageable.
One of the thing that is important is to segment the work and have checkpoints and mini bosses. You don’t climb a mountain in one go. That’s one of the reason I dislike LLM in coding is because coding is my down time after a deep thinking session.
Another thing is to have an end goal in mind, and plan the journey according to those. You do this by having enough information about the business domain. I’ve seen people rush blindly into solving problem and get a burnout in the process. This also help with pacing yourself to a sustainable rate of effort.
Exercise, cultivating positive fear responses, self-challenge are all important.
What you're pinning as "therapy talk" is just that last one - you need to think critically about how you approach life problems, not just accept the most negative interpretation of events and your inner monologue.
I think any stoic would agree with that statement.