Need advice with learning how to actually code

Posted by ggmanggxd@reddit | learnprogramming | View on Reddit | 14 comments

I'm currently a CS major at my state school and I'm struggling big time in my Java DSA class. You've probably heard it a million time on this sub: I relied on working with AI too much and as a result I pretty much can't complete any assignment without using AI. If I were given a paper test, I genuinely would not be able to write down one line (and it has actually occurred once but I was still able to pass the class despite getting a 0). I've been a passenger throughout all my classes just depending on AI while being addicted to weed, but now that I'm sober and trying to lock in so I can actually pass my class, coding has been extremely hard for me. I have meltdowns every time I try my assignments with minimal AI, constantly stressed and thinking about quitting. And I know people here are just going to tell me job market is hard, if you don't have drive don't do it, etc., but that's not an option here. I've switched schools and majors too many times and this is my last chance to prove myself to my parents. From where I am, a job or internship is not even in the scope of my goals; I just want to be able to complete an assignment on my own. I know programming isn't meant to be easy, but I can't for the life of me code. For example, I understand the concept of sorting and nodes, I can draw it visually and sort it right on paper, but once I'm on the IDE I just freeze and feel so lost on what to write. It's like I know the letters and words but I can never form sentences on my own. I'm not really worried if I fail the class, but rather that I can never understand coding. I just feel so stupid and unteachable when it comes to this. And I don't even think I'm that dumb, I used to be an overachiever in high school with good grades, AP scores, and SAT scores, but ever since COVID and college, learning in general feels impossible for me. I just don't know what to do and feel lost, and I guess I need help with some direction. I've browsed this sub for a while now but I feel like all the advice is too vague and overwhelming. I can't just complete a whole Harvard CS50x class or redo all my assignments I cheated on, or read a whole textbook. I just don't know what to do.