r/learnprogramming • u/Historical-Truth-680 • 27d ago
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.
56
u/Slottr 27d ago
Study? Ask questions? Without you telling us what you don't understand, we can't really help you
2
u/waffleassembly 27d ago
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.
9
u/JackRyan13 27d ago
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 27d ago
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
u/CorpT 27d ago
Programming isn't for everyone. And that's ok.
2
u/[deleted] 27d ago
Change majors?
5
u/FreeLogicGate 27d ago
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 27d ago
What math class did you get to?
3
u/Statertater 27d ago edited 26d ago
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 27d ago
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 27d ago
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 27d ago
Don't drop over one class, rebuild the basics slowly, practice daily, and ask for help before moving to programming 2.
2
u/grayston 27d ago
Coding is not for everyone.
I'll repeat: coding is not for everyone.
2
u/Ecstatic_Score6973 27d ago
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 27d ago
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 27d ago
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 27d ago
Wow! Rarely such zero effort complaint posts here.
Let's unpack a bit:
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.