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

29 Upvotes

37 comments sorted by

56

u/Slottr 27d ago

Study? Ask questions? Without you telling us what you don't understand, we can't really help you

24

u/Kamatttis 27d ago

I really think OP is just trying to pass blame or look for validation online. Based from the post, it seems like he doesnt really do his job as a student since his classmates pass and learn anyway.

12

u/Historical-Truth-680 27d ago

Reading it back it does look like that i apologize, this is fully on me i walked in thinking i could pass with no experience. We are learning in C and it’s not the logic im not understanding it’s building a code from scratch I fully get lost after setting my declaration because I don’t know here to begin and I’m still horrible with the language. Once again sorry for making it sound like I was blaming others this is entirely a me issue. I should have been studying harder and using every method I could to understand what I was doing. Now I’m considering dropping my major. Thank you for your response and have a good rest of your night

8

u/Kamatttis 27d ago

It's all good. Maybe it's not just for you. We're all different and you might be good with something else. I hope you dont find this as an insult and dont disuade you from looking for what you really want. Good luck! With the attitude and humility you showed just now, i'm pretty sure you'll do fine onwards!

3

u/Historical-Truth-680 27d ago

If you were in my shoes what would you do? Would you keep pushing and studying programming or stop and switch majors to something similar without all the programming?

4

u/Kamatttis 27d ago

First of all, ask yourself. Do you really like programming? What makes you like or love it? Because for me, I really love it. That's probably why I didnt find it too difficult. I just love it whether I succeed or failed building the program. I treat all of them as learning stepping stones.

So if I'm in your shoes, I'll continue because I love programming. If it permits you and you're still not sure, you can try continuing (or repeating it) but this time taking it really seriously. If you find it interesting, then continue. If not, then just change majors. What matters here is what you really wanna do.

11

u/Slottr 27d ago

What might help is writing pseudocode.

Lay out what your set of instructions you want in English, then translate that into C.

2

u/silver_chief2 27d ago

i am old and this is long ago but I could not learn programming without having tasks to do. This included tasks as part of a programming class. Look for on-line courses like MOOCs which can include include assignments that are automatically checked and chat rooms where students ask questions of other students. MOOCs may require payment or be free for auditing.

Your instructors may suck at teaching but you have to teach yourself in any case. Pseudo code to solve a problem is a first start. Write what do you want to do.

Ask AI what are moocs or online courses that teach c programming?

4

u/Old-fashionedHands 27d ago

you're not cooked, just behind. other classmates might have tinkered with code before or just happened to click with it faster, doesn't mean you can't catch up

try starting from absolute scratch on your own time, something like a free intro course or just building tiny projects. skip the class lectures if they're useless and lean on tutorials where the person speaks clearly, there's tons out there

1

u/Historical-Truth-680 27d ago

Hello, I’m so far behind it’s insane. We got to arrays and I stopped understanding what was going on. I try using Ai but it’s doing much either I’ll try YouTube videos next. But I’m pretty sure lll be dropping the class since I think my grade is irredeemable.

7

u/generally-ok 27d ago

Talk to AI like a tutor. "Can you explain Arrays in C for me? I'm struggling to understand." Then just have a conversation with it, ask it for examples, or context, whatever you need. It's your very own private tutor.

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.

3

u/Historical-Truth-680 27d ago

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 27d ago

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 27d ago

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 26d ago

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 23d 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 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?

1

u/Historical-Truth-680 27d ago

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

u/[deleted] 27d ago

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 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?

1

u/Historical-Truth-680 27d ago

I’m in statistics right now

1

u/lumberjack_dad 27d ago

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 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:

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.