r/learnjava • • 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.

50 Upvotes

32 comments sorted by

View all comments

3

u/mw52588 Dec 12 '19

One thing that might help is finding a project idea that you might want to do. I think freecodecamp has some good projects you can use.

But with that being said split out your work. In Github you can create tasks that you need to work on. That way you are achieving things and not setting up one massive goal. This will make coding less daunting and in fact it's best practice in agile development to split up your work in stories.

Like for instance you're creating a weather app. One goal would be to just get a basic html page up. The next goal is to create some CSS to go with it. Basically what I'm saying is take some time and plan it and put small achievable goals for the work that you do. This will motivate you to keep going.

One unrelated note is it's a good idea to get this project working in one language and adapt it to a different one.