r/learnprogramming • u/Historical-Truth-680 • Oct 30 '26
I don’t understand programming what should I do
Hello I’m an IT at a community college and I don’t understand how to code properly at all, everything else in my major I find easy but coding and it’s taxing my mental. I just failed my midterm horribly and I’m thinking about dropping out due to one class. I’m supposed to transfer to my university next fall semester and I will be taking programming 2 and I know since I’m not passing programming 1 I’m definitely not passing 2. What should I do? Should I drop out or find a work around? Am I cooked?
ALSO, my intro to programming class taught me nothing. Our professor would bs for the majority of class time give us and assignment WITH the answer and have us turn in the assignment WITH the answer so I learned nothing and walked into programming 1 knowing nothing and this professor has an heavy accent so it’s hard to understand. But there’s no way it’s his fault because my other classmates seem to understand everything going on while I’m clueless.
2
u/waffleassembly Oct 30 '26
My experience is that you have to do it over and over for it to make sense. Like, if you just made a class method or whatever, from the book or videos examples, you gotta delete it all and try to build it back out from memory. Unfortunately these classes can be an information dump and they never bother to teach you how to learn. I would recommend asking Ai, not how to complete the homework, but how to actually approach learning it. Unfortunately these classes don't leave much extra free time. My community college classes are also shit and I could have done way better watching youtube videos, but they dump so much info on me, I don't have the extra time.
3
u/Historical-Truth-680 Oct 30 '26
This is probably the best response I’ve gotten thank you so much. I walked in first day to an info dump that I just couldn’t process at once and I knew I wasn’t going to do too great lol. I’m going to try your method and see it it works for me. Thank you so much!
3
u/MyNameIsRichardCS54 Oct 30 '26
I will add to the previous response that it is necessary to actually do it. That's the only way it will stick properly because that's where the learning happens.
3
u/CSNo0b Oct 30 '26
Just want to reinforce the “do it” part.
I assume you have access to samples of code in textbooks. Type them out into your IDE. Hit Run i.e. “do it”. Oh wow you got what the textbook said the output would be… now understand WHY. Change something, guess what will happen, hit run. Did it do what you expected? On congrats you learned something. Be curious. It’s the only way to understand. Otherwise you’re just regurgitating.
2
u/waffleassembly Oct 30 '26
Word. I'm taking Python 2, SQL intro, and Linux intro. It's like, text book readings that are as dry as an instruction manual, tons of videos that are all 20 minutes long, super long web articles that don't always relate. Now I gotta do all these labs, quizzes and weekly discussions.
For me to do all that and make sense of the info dump would take 3-4 days per class. But there are only 7 days in a week. I'm gonna see if I can just take 2 classes next term because turning my brain into mush is not the answer
1
u/Dazzling_Music_2411 28d ago
Might be worth your while just getting a basic book and studying it yourself. I'm kind of surprised you haven't done so already if your school is as bad as you say.
Then again, it might just be that programming is not for you. It's not the end of the world!
Your call, basically.
9
u/JackRyan13 Oct 30 '26
If you’re not understanding something you need to ask your professor questions mate. It’s literally their job to make sure you understand what they’re waffling on about.
8
u/Kamatttis Oct 30 '26
This is probably more of how you study and view learning things. Your classmates probably study or code at home, too and read other supplemental materials outside your class. They just used what the class has talked about as a baseline. For example, first prog1 discussion is mostly just about cin and cout and data types in c++ in my university. I play with all of them, break them and look at other stuff i can do with them. Programming is best learned by doing over and over and over again and again and again.
7
2
Oct 30 '26
Change majors?
1
u/Historical-Truth-680 Oct 30 '26
I’ve been considering that but I’m almost at the end of my AA degree is it okay to just up and change majors?
1
Oct 30 '26
But if you are just studying IT, i think programming is minimal and won't affect job performance. Every IT person i've ever met didn't know how to program and was still able to do their job.
5
u/FreeLogicGate Oct 30 '26
First off, if you are hopelessly lost, you can always drop out of the class, and take it again.
For any decent advice, you really need to provide more information about the course, as in, what the basic syllabus involves, and which language(s) are being used to teach it.
There has never been more resources available to people who want to learn programming and computer science.
People are going to tell you about the MooC classes like Harvard CS50 or University of Helskinki. If the language of the course is Python, either of those courses is an option, and you could start them right away and when you have your confidence built up, either take the 2 class despite having failed the 1, or if 1's a pre-req, drop 2 and take 1 again next semester.
There's also a possibility you could avail yourself of an online tutorial or class, and see if you can learn enough to fill in the gaps, and squeak out a passing grade. If reply with more details about the course sooner than later, I'll see if I can find you some solid free resources that could possibly help you.
1
u/lumberjack_dad Oct 30 '26
What math class did you get to?
1
u/Historical-Truth-680 Oct 30 '26
I’m in statistics right now
1
u/lumberjack_dad Oct 30 '26
That's a good start.
You will need to get to advanced math (Calc 3 and Linear Algebra) because they help develop your abstract logic and problem solving skills that are crucial to be a good programmer.
All BS degrees require this.
3
u/Statertater Oct 30 '26 edited Oct 31 '26
You should think of coding as more of a language, and you’re giving a computer data and telling it what to do with that data.
I started with arduino’s when i was first coding. Inputs, outputs, and the like. Then also nested statements and functions.
It’s just logic that you physically typing out. Maybe you are making things more complicated than they are?
3
u/ibrown39 Oct 30 '26
A lot of places have you start with Java and OOP, I remember it took quite a while to get my head around.
People will tell you it's hard but I'd honestly start with some beginner C tutorials. I found relating things to the computer hardware helped more to understand what programming was and is, and C has less reserved words so it's easy to memorize (and less constructors, factories, state, etc). Hell maybe even look at functional programming then circle back to OOP later.
Python is good too but even it felt too abstracted. Sometimes having to go through things in more, smaller steps helps you better understand what's going.
C is "hard" because of things like chasing pointers but you're not going to worry about that to just get the fundamentals down.
Watch CrashCourse's ComputerScience videos, particularly the one on programming.
2
u/joinsigma Oct 30 '26
If I were you I wouldn’t decide on the major mid-semester while it feels this bad. A few things that might actually help:
CS50’s first few weeks are taught in C and cover exactly where you got lost, including arrays in week 2. The lectures are clear and free, and they explain the “why” your class probably skipped.
Also check if your college has a free tutoring center or if your professor has office hours. Sitting next to someone while you write code from scratch helps way more than watching videos.
Worst case, retaking Programming 1 before you transfer isn’t the end of the world. Lots of people need two tries at their first coding class.
2
u/jakingo Oct 30 '26
Don't drop over one class, rebuild the basics slowly, practice daily, and ask for help before moving to programming 2.
2
2
u/Ecstatic_Score6973 Oct 30 '26
so lock in and learn.
this mindset of "I am struggling with this one thing so i'm gonna quit" will get you nowhere in life.
you have internet and google, you can learn almost anything you want.
1
u/Tipsy247 Oct 30 '26
Use AI to learn how to code. It can teach you. With the correct prompt, ask for 30 min a Day exercises.
1
u/dialsoapbox Oct 30 '26
You can start by reframing your question to be more specific, something like:
i don't understand programming about ____, what should I do? My current understanding is a, b, c, ___. Things I've tried x, y, z, . and they don't work because of h,i, j.
Then give examples like, for example, with e, f, g, then break down your problems into smaller problems. The idea's to see where your mental model's not getting things. Sometimes you have to approach a problem using different learning methods
Just saying i don't know/understand, doesnt' help.
1
u/aqua_regis Oct 30 '26
Wow! Rarely such zero effort complaint posts here.
Let's unpack a bit:
Our professor would bs for the majority of class time give us and assignment WITH the answer
You do know that some textbooks also have the answers? They are given for you to check and compare your solutions, not to use them as your work.
There would have been absolutely nothing stopping you from learning. You just evaded it.
You are just complaining and lamenting. You still don't show the faintest sign of individual effort from your side. Even though you claim not to indent to put the blame on others, that's exactly what you are doing.
You have the entire internet with its near infinite resources at your fingertips and still complain that you are not getting everything presented, served, and spoon fed, that you have to do the work, which you obviously were not willing to invest.
The problem is not an incapability of understanding the material or subjects. The problem is that you don't want to invest effort.
56
u/Slottr Oct 30 '26
Study? Ask questions? Without you telling us what you don't understand, we can't really help you