r/learnjava • u/SirLucifcuker • Dec 12 '19
Learning programming while depressed?
Tl;Dr - I work and study full time, leaving me exhausted and drained. Unable to focus and form a schedule. Need guidance.
I'll try to keep it short. I work over 40+ hours a week and also studying for my software engineering degree. This leaves me highly under pressure as we have assignments with deadlines and since I'm away 40+ hours a week, my time, as a beginner to actually learn Java and work on the assignments is very limited.
I mentioned being depressed but it's more like a mental state than physical. I do go about my normal work and chores but just... lifelessly. Things do get done anyway but I'm not mentally present. This also contributes towards the problem of me not being able to learn when I do have time to sit down. The job doesn't really compliment the learning so I have to learn different things for work constantly and also learn programming on my own. I don't really have any friends who are programmers so I'm really lost as to how to approach learning in current situation with current mental state. Please don't suggest getting help, it is already at the back of my mind and it's not that bad yet. I'm still functional, although not exactly happy. I do love the idea of creating something out of nothing so I'm also not giving up programming even if I'm the worst possible Dev out there.
Even with 40 hour work week and the usual recommended 8 hours sleep, I should have time where I can squeeze in learning. I want to turn it into a habit. I want to think in code and not just write it. But it seems that I struggle coming up with an effective schedule that I can stick to.
How did you start learning and what was your approach? I find that having specific topics to learn within specific time period would work as I can measure progress and it's something I could use help with. I do have access to udemy so any recommended java course are welcomed. I'll also be looking at various other languages as I progress but I want the learning schedule to remain the same and adapt. E.g. day 1 - 2hours - Learn Data Structures
I am not a complete beginner and have basic understanding regarding programming and programming terms. However, I am tired of being at a beginner level and want to get really serious about it.
Please let me know if you have any questions. Any helpful answers would be highly appreciated.
Edit 1: Thank you to everyone that took the time to respond. I'm glad you're also on the same journey and are making progress. I've tried most of the suggestions but my work schedule changes one in a while which messes up everything again and I'm starting from the start. My workplace also has an odd arrangement with university. So I don't have as much time at university and am mostly at work.
I also have a few projects from university and a few projects I want to start on my own. I've actually intact started one, mapped the screens, database structure, etc. It's the actual programming where I get stuck because of lack of knowledge and experience. I just have to keep trying, I suppose.
Also, when I think back, I'm much more responsive in classes where you can bounce off questions and ideas off others. So if anyone is on the same path and finds interaction helpful, feel free to message me.
3
u/mrphotochalupas Dec 12 '19
I had a similar situation and what did it for me was taking some of my problems and writing code to fix them. For instance, I have a cat that would scratch the door, walls, pretty much anything when he got hungry. He would wake me up in the middle of the night or when I’m just trying to relax which when you have depression just sucks even more life out of you. Also being woken up when sleeping was horrible and I became more agitated and grumpy. Anyways, I decided to use a raspberry pi to make an automatic food feeder that I could program to set at certain times. Now he doesn’t meow or scratch during the night or when I’m playing video games. I’ve done this for a couple other things too. This has kept my interest in coding since I know I’m getting immediate value from it. I’m not sure if you have time to get any side projects going but if you do have any sort of free time I would think about making some stuff like that. It helps with your learning and can make you feel satisfied. Hope this helps! And I also recommend going to someone to talk about your depression. If you’re in school see if you’re school has any options. Good luck!