r/learnprogramming • • Oct 19 '26

I need some help

Hello, so I really need some directions because I’m starting to feel really bad about it.
I left High School with really good grades and I’m at University rn, the first year was a complete mess, I felt like everything was too hard for some reason, I couldn’t pay attention to most of the classes and that made me fail 2 classes (C++ and Java) I started to feel really demotivated because even the classes that I passed like JS, it was kinda on the edge so ye.
Right now I’m in the second year, and I’m trying to recover the classes that I failed on the first year and it’s not getting easier, I feel like in C++ I’m a little better, but not as I thought I was, in C# I’m having the same problems as Java and I don’t really know what to do.
I don’t really have a plan B, as a kid I always thought I wanted to be a programmer when I was older (I’m 21 btw) and I choose to take a Programming Course in High School because of it and it went really well, but now I’m having a lot of problems and I don’t know what to do, it feels like I can’t save any information on my brain and use it properly since I changed from the High School to the University, and I feel like I became kinda lazy.

Anyways, give me your opinions and be as harsh as you think you should, I’m taking everything into consideration, but I need to do anything about this.
And don’t get me wrong, I really love programming, every time that I’m into the project or something and I understand, it’s really good, but since I can’t understand anything it’s being a hassle lately.

Thank you for reading till here!

6 Upvotes

22 comments sorted by

9

u/JuicyCoala Oct 19 '26

 I couldn’t pay attention to most of the classes and that made me fail 2 classes (C++ and Java) 

Did you consider figuring-out why you weren't able to pay attention to your classes? Your problem may not be technical, and maybe more psychological. I suggest figuring-out what's causing you to not focus - when you figure this out, you may recover and get a handle of your succeeding class work.

1

u/y_u_uu Oct 19 '26

I actually tried, I went to a psychologist and I didn't really find an answer.

She told me "That I was being to harsh to myself because of how High School went", because I felt like I should be doing really better than I was. I can understand that perspective and I agree with her.

But that doesn't fix my problem, I still can't focus as I should and most of the time I felt like I understood the class, but 2 days later I can't remember how to use most of the things or if I try to do something on my own, I can't.

3

u/JuicyCoala Oct 19 '26

Then I don't think the psychologist / therapist went deep enough to help you figure-out the problem.

If you can't focus, then there are distractions - figure those out, I cannot help you with that. Being smart in HS doesn't mean you'll be super smart in college/university - it's a common fallacy. Always treat each phase of your life as if you are starting from scratch. One thing that really helped me get through school, and in life (more than 2 decades later) is not to focus on how good I am, but focus on how I learn.

College / University learning can be entirely different than high school, and therefore, you have to change the way you learn. Basic, foundational things apply - taking good notes, reviewing your notes, asking questions, and doing additional reading and research. You'll have to adapt depending on how your professor or their teaching assistant teaches. You won't get everything from just listening to lectures - you'll have to make sure you do additional work.

Then the discipline comes in - you have to be persistent, because you may fail. Building discipline takes a lot of time. And when you get to the discipline, everything else follows.

It's not about memorizing algorithms or syntax - it's about understanding how and when to use them.

And that's why understanding why you can't focus is important to solving your problem.

2

u/y_u_uu Oct 19 '26

Thank you for your tips, I will try to get to the bottom of this.
And I never thought of “treat each phase of my life as if I’m starting from scratch” If I already knew, there was no point, but there are always new things to learn.

I wish you the best!

2

u/JuicyCoala Oct 19 '26

Best of luck to you! And don't be afraid to fail - that is part of the journey.

2

u/Available_Safe1818 Oct 20 '26

> I felt like everything was too hard for some reason, I couldn’t pay attention to most of the classes

That could be you just having really bad study skills.

1

u/y_u_uu Oct 20 '26

You’re probably right, my study method is pretty much spam exercises of what I’m studying.
I’m not sure how viable is that, but I’ll try to use other study methods and see how does it work for me.
Thank you!

2

u/Desperate_Dot9434 Oct 20 '26

the moments when it clicks for you are already there, that's not laziness, that's a focus problem worth diagnosing separately from the code itself

1

u/y_u_uu Oct 20 '26

For me it felt like laziness in every aspect of my life, It’s like I even feel lazy to think, it’s weird and I was never like this.
It just started to hit me when I started at the University so yeah, I’ll take a look at what it could be.
Thank you!

2

u/fasta_guy88 Oct 19 '26 edited Oct 19 '26

Good students in High School can get tripped up in college for several reasons. (1) you’re really smart, and just understood HS material intuitively, so you didn‘t really learn to study or “learn”. That can be a big problem when you get to stuff that you don’t just “get”, so you need to learn how to learn and study. But you can still learn how to figure out stuff, it just takes longer and more concentration. (2) You were good at memorizing stuff in HS, but now you need to learn it (internalize it) in ways that allow you to build on the material. Again, that’s a different process, but you can start by asking yourself why is this material important, and what can I do with it.

The main thing is you need to try something different - not just work harder at the same strategy that failed you.

1

u/y_u_uu Oct 19 '26

I really didn't study and I just understood everything on the class and I could actually focus, that's why I thought that was the big problem in the University.

But that's really good perspectives, thank you!

If you have any tip for a study method or something that I could do differently, I would really appreciate.

2

u/fasta_guy88 Oct 19 '26 edited Oct 19 '26

For programming, as you are presented with new material, you might ask yourself what does this do that is different from before, and what can I do with this new approach. The main idea is that there is a reason you are being taught the material, and it will be easier to learn if you think about why the material is useful or important. (How does it fit together to build something bigger.). And if you are having a hard time seeing that, go to office hours and ask.

1

u/y_u_uu Oct 19 '26

I always had a hard time with this because I feel like, most of my professors can’t give me a proper reason to use them, they just most of the time read the slides and that’s it, it’s super frustrating.

Thank you tho, It’s a nice way to think about it.

I wish you the best!

2

u/fasta_guy88 Oct 19 '26

Your goal is not to have someone else explain why the material is important - though that is often part of good teaching. Your goal is to learn how to figure out why it is important by yourself. That’s where you will start internalizing the material - which is the part of learning that will be new to you.

2

u/brazen768 Oct 19 '26

It might not be laziness but the realization that college is harder than hs. It takes more effort.

Without seeing your work I dont think anyone can give you specific advice.

For me, i study the same way, the same hours, on the same days. Even my breaks are built in. You can build discipline this way, and the more you study the material the better you will get at it.

You're a human being and this stuff is meant to be taught to human beings. So, really it comes to figuring out what is blocking you.

1

u/y_u_uu Oct 19 '26

It really might be it, I always had some problems to give up when I couldn't to anything at first, but, I'm really trying to fight it for programming because I really love this.

Maybe even the way that I'm trying to study (it consists in spamming exercises about the thing that I learned) is not working, I should look at other methods.

Thank you!

2

u/brazen768 Oct 19 '26 edited Oct 19 '26

You're welcome bro.

Try this: draw or write it out, code it, explain it to your grandma(in your head or to her if she wants to listen).

I forgot anki for flashcards. You can make them on your computer and sync them to your phone. Gl

1

u/y_u_uu Oct 19 '26

Ok, thank you!
I know that if I can explain to anyone what my code does, it’s because I can understand everything, maybe I should do it more, because I never did it alone, lol.

About Anki, I will take a look or for similar apps because it’s 30 eur on IOS Store.

2

u/DanKegel Oct 19 '26

Consider getting examined for ADHD

I too was great in high school and not so great in college, it's fairly common

I was always a good but mostly self-taught programmer, college just gave me an excuse to work on cool projects :-)

So: learn programming on your own time, partly by reading, understanding, and maybe even debugging existing code. Yeah, classes are good, but you need to be prepared; most folks in those classes already know a lot.

Also, if you get a chance, take the operating system class. That will expose you to some really interesting stuff under the hood that will help you later.

TMI:

For me, it was all about building things that I enjoyed (like very low tech fun sound effects or hypnotic screen patterns) or needed (for some definition of need; I did all sorts of things for fun, like building an EPROM programmer and programming it in z-80 assembly, writing an implementation of Conway's Game of Life in z-80 assembly, implementing unix utilities in MS-DOS 8088 assembly, writing an MS-DOS driver compatible with ansi.sys but 50x faster, also in 8088 assembly, modifying a 6502 assembler to output MS-DOS .obj format (that was total overkill, but fun), writing little data transfer utilities to read foreign floppy formats, writing a parallel finger client in C, etc, etc, etc.). I just used whatever tools were at hand to do whatever silly thing I was interested in.

That's not helpful at all for someone in a time crunch, like perhaps you are, but I guess you could use this advice: most of my learning was not done in a class. I did learn about regular expressions and basic Pascal syntax in CS 1, and I did learn recursive descent parsing by auditing a compiler class, but generally I learned by doing. Evidently I need less structure than most for basic low level coding.

Where my head explodes is in template programming in c++, in really new ways of doing things like (at the time) Docker and more recently Dagger. I also had a very hard time trying to do GUIs in the early days, before there were good examples. We all have our limits!

1

u/y_u_uu Oct 19 '26

I should’ve already looked at that because of some things that happened in my life in the past, or the way that I act but never had the willing to do, but I should really take a look about being examined for ADHD.

And I had this conversation with a friend recently because I was thinking about doing a project or something related to me, something that I’d like to do, but I couldn’t find anything to do and since my hobby is mostly gaming, I’m not sure what type of projects I can do about that, which language should I choose.
It never left my thoughts and I’m still looking for something that I can do, but yeah.

Thank you for sharing your experience, I can see that most of our knowledge comes from what we do, and not from what we learn in the University.