It will be all right. I have been in a similar and made it out fine. Take a deep breath, step back and try to look at the big picture.
-
What are the immediate problems? How big are they really (what is the worst that could feasibly happen, is it really as bad as you think it is, vocalize them)? Filter out the things that aren’t actually a big deal, prioritize the rest and work on them one at a time. No more, no less.
-
Make it a priority to get yourself a diagnosis and a treatment plan. If your current psychiatrist won’t help you, look for another one.
-
Don’t worry about the big picture stuff right now. You’re not in the right headspace to make any big decisions. If you can put your studies on pause I would advice you to do so until things have calmed down. Make sure you have something going on though that keeps you active and occupied without being stressful or taking over.
Then teach us. Advocate for us. Help us improve and understand.
A very large part of the problem is that the people who are knowledgeable are often the ones that bought into the whole lone wolf coder shtick.
Most junior people I work with are interested and want to learn, but between high demands, no time to do it and senior devs who focus only on their own problems - it’s very hard to know how to learn and improve.
We can and need to solve this but it requires that we work together and actually sit down to bridge the knowledge gap.