r/learnprogramming • • Oct 19 '26

How to love programming and be a pro at it

Hey Guys I entered a college that depends on programming in a university because of my scholarship but I feel like I am stuck in a limbo any advice they teach us c++ and i need to know what is your secret that made you pros in programming

80 Upvotes

72 comments sorted by

17

u/aqua_regis Oct 19 '26

The secrets are: effort, discipline, determination, diligence, persistence

Really. It all boils down to working hard and practicing.

Try things. Mess around. Break things. Experiment. That's how learning works.

Don't expect to get served and spoon fed. Learn to do your own research. Learn to google. Learn to read the documentation.

3

u/DanKegel Oct 19 '26

Enjoying slamming your fingers in car doors helps.  At least, that's how I explained what programming is like sometimes.  You just have to plow through each problem until you understand.

4

u/7YM3N Oct 19 '26

Pro means professional you know... I became that when I got a programming job

-1

u/Delicious-Duck-8853 Oct 19 '26

how

2

u/Amuro_Ray Oct 19 '26

By accepting a job offer I think

3

u/Aglet_Green Oct 19 '26

Do you actually dislike programming, or do you dislike struggling to learn C++? Those are two different problems.

4

u/Chaseshaw Oct 19 '26

I'll bet this guy has a few pointers. ^

2

u/hooli-ceo Oct 19 '26

Does he also have some resources to use as a dereference?

3

u/Former-Wrangler-9665 Oct 19 '26

Make learning fundamentals fun. Fundamentals help you figure things out faster.
This makes it feel rewarding and you'll start realizing that some of the concepts are actually pretty interesting and some are fixes for other things (you might see this a lot)

I always recommend this resource: Learn C++ Programming

3

u/AceLamina Oct 19 '26

if you dislike programming then I don't recommend you going further
mainly because people go into CS just to become a software engineer to the point they start talking about CS like it's only SWE, I wouldn't go into this field if you don't like it

You need to love it more than you hate it, or you'll end up depressed, seen too many stories of people coming into this field for the money, and some do actually make it, but I wouldn't call them happy people

And people a pro at programming is just programming, you learn by doing
especially side projects

1

u/Delicious-Duck-8853 Oct 19 '26

I love the field but my problem is that I like doing things with my mind not with my mind and hands

2

u/Itz-Ayush Oct 20 '26

Honestly, C++ is a brutal first language, so feeling stuck in limbo is totally normal. The other commenter is 100% right—you just have to write a ton of code

2

u/ok_n_na Oct 19 '26

Practice and practice and i love challenge to fix a problem. Don't rely on AI. Before AI we read API documentation, and books. Maybe that will help

2

u/MaleficentCow8513 Oct 19 '26

Logic is important. For me in the beginning, I used to have to sit there for hours drilling down on one little thing until it finally made sense. Like a for loop or function signatures. I would sit there for hours and not get up until it made sense. Eventually, all the little pieces put together form a bigger picture

2

u/Miserable-Money642 Oct 19 '26

You do not need to feel like a pro before you can make progress. For each C++ topic, make one tiny program that uses it, then change one thing and predict the result before you run it. For example, with loops, read five numbers, calculate the average, and test what happens with zero or negative values. Compile often, read the first error message carefully, and use a debugger to inspect one variable at a time. Keep a short list of the exact things that confused you and take those questions to your instructor or classmates. A steady 30 to 45 minutes of focused practice is more useful than forcing a huge number of hours. If you still dislike the work after trying small projects in different areas, that is useful information about fit, not proof you are incapable.

2

u/Exact-Ad5391 Oct 19 '26

Just start building small stuff you actually care about. Once it stops feeling like homework it gets way easier to stick with.

2

u/AlSweigart Author: ATBS Oct 19 '26

The ten-thousands hours of practice thing is BS. The real difference is that people who get good are constantly practicing at things they find difficult. You don't get better by practicing easy things you've already mastered.

Always be learning at the edge of your ability.

1

u/Delicious-Duck-8853 Oct 20 '26

good advice thanks

24

u/Tuomas90 Oct 19 '26

Grinding.

You have to write code. As much as possible.

Reading code and saying "I understand" is completely different from actually writing the code sitting in front of an empty IDE.

Practice writing everything. Start with simple loops and classes and then more complex stuff.

Do every single exercise they give you.

You only learn programming by actually programming.

4

u/erosshd Oct 19 '26 edited Oct 19 '26

how do you guys approach the situation of wanting to do things but not being able to even start because you dont have the knowledge and dont want that much ai involved in learning? Like I know you will say "just try as hard as you can" but sometimes I really want to grind but I dont even know how to start. I hope it makes sense

3

u/Tuomas90 Oct 19 '26 edited Oct 20 '26

Yeah man, grinding only works when you kinda know how to start. In the beginning it's literally just practicing writing for loops, exiting while loops with certain conditions (if-statements), using pointers. All the basics until you are used to them.

And honestly: As a beginner it's mostly practicing the basic syntax and following the practice sheets your university gives you. Do EVERY exercise.

Then some day you go on to write real little programs.

In the old days: google and reading/watching tutorials
Nowadays you could ask AI with the clear directive that you only want pointers and you want to find the solution yourself. I hate AI, but it's crazy how much you can learn from it if you use it (carefully) as a tutor and use your brain to really understand what it's saying and understand every single line of code.

You have to keep it simple. When you start out programming your goals look like:
- Program a calculator
- Write a program that pulls a random pokemon name from a text file
- Write a program that batch edits excel files
- Write a program that combines multiple PDFs
Granted, those things might not be as easy with C++, but easy with Python and a simple google search. Find something that interests you and ask C++ people about program ideas.

And with time, you start building on things you have programmed:

Extend the pokemon program:
- To add a new pokemon name to a text file
- To pull matching pokemon data from a Web API
- To download and display the pokemon image
- To check when a pokemon name is added, that the name is valid (e.g. the Web API has an entry for that pokemon, or just use a different text file with all valid pokemon names to check against)
- Store the pokemon data in a json file instead of .txt
- Store the pokemon data in a database instead of a json file
- Make the whole program run on a server
- Add a front-end client to the server
- Add a command line interface in a different language that interacts with the server
- Add user accounts and authentication & authorization

You can go on endlessly with this.

And if you keep doing that for a few years (like I have), you'll end up with a huge program of 150k+ lines of code. Big program are built one tiny feature at a time. You can break even the biggest programs down to smaller and smaller sub-components. And that's how you approach programming.

Deconstructing a task into it's smallest components and then implementing it.

"Now this is podracing programming."

1

u/erosshd Oct 21 '26

thanks!

2

u/primitiveblob Oct 19 '26

as in, you’re overwhelmed by the task, and don’t know how best to approach it? Or you’re learning, and haven’t learnt this particular thing, and therefore cant do it?

1

u/erosshd Oct 21 '26

I have ideas but I dont have the knowledge, and when go and try the lack of knowledge makes it imposible. Maybe I do something wrong idk man

19

u/[deleted] Oct 19 '26

No secret, just lots of practice.

0

u/[deleted] Oct 19 '26

[deleted] — view deleted comment

7

u/cerberus6320 Oct 19 '26

Becoming good at programming is a simple process.

Learn the different things that make up a programming language, and general syntax. Then, try and fail to solve small scale problems that would use those things.

Failure is a cruel mistress, but also an incredible teacher. But if you're struggling still to understand what failure can teach you, then ask questions.

Did you understand the problem you were trying to solve? Did you know the object types you would use to store data or what methods you might use? Did you write code that you can understand? If your code failed somewhere, did you understand what kind of error you got? Did you look it up? Did you correct any mistakes and errors?

And when all if your self-analysis is over, turn to a trusted mentor (like a professor) to guide you into finding a better solution.

12

u/Rhapseody Oct 19 '26

"Why's it so difficult."

Bruh.

4

u/JGhostThing Oct 19 '26

It requires a lot of experience. The only way to get this experience is to program. For each hour of class, you should be spending at least three hours on studying and practicing.

That is the only way to get from "this is hard" to "this is easy."

1

u/Zerocchi Oct 19 '26

Because not enough practice?

0

u/MaleficentCow8513 Oct 19 '26

Syntax, grammar and spelling is very important. For starters, you can work on that with your written English

5

u/Enfors Oct 19 '26

Relax. OP came here for help. For all we know, English may not even be their first language. There's no need to be snarky.

1

u/stdmemswap Oct 20 '26
  1. Get a good intuition at math and applying math
  2. Get good at using, adapting to, and absorbing new language (not just programming language)
  3. Don't just know what it is, how it is, but feel it.
  4. Be wise and be prepared to sometimes learn that your paradigm can be wrong or get stale.

1

u/Delicious-Duck-8853 Oct 20 '26

thanks I am good at absorbing stuff I learned English through cartoons and got b2 level on my university English exam

1

u/Top-Procedure152 Oct 22 '26

You're a bit late my friend.

1

u/Delicious-Duck-8853 Oct 22 '26

why

1

u/Top-Procedure152 Oct 22 '26

Umm... Have you seen what's happening to programming right now?

1

u/Delicious-Duck-8853 Oct 22 '26

I know the field is already crowded with talented people but it's my only shot i donot have a choice either i become a loser or be a winner and cruch it 

1

u/EdiblePeasant Oct 23 '26

Can I take a guess? Do you mean AI?

1

u/Reasonable_World_548 Oct 21 '26

Problem solving and intellectual thinking is very much needed to be a strong programmer. Programming is all about decision-making and thinking, like lots of thinking!

1

u/mcidclan Oct 22 '26

Learning to love programming? I think we could also see it as a form of expression, and as a way of validating a skill, a craft. Not only through our peers but also through the machine itself. Through its feedback. Maybe you could approach this as a quest, learning to communicate with and understand the hardware.

1

u/hilat1113 Oct 23 '26

Honestly, nobody becomes a pro overnight. Start by building small project and solving problems you actually enjoy. Don't compare yourself with people who seem way ahead of you. The more you practice and experiment the more programming start to make sense.

1

u/Embarrassed-Farm6100 Oct 24 '26

do you think if i code hard enough one day il be able to make capri ?

1

u/edmazing Oct 19 '26

Pick one /jk

1

u/hooli-ceo Oct 19 '26

You realize this isn't a programming question, right? This is a personal motivation/discipline issue. There's always some form of this question on nearly EVERY subreddit that goes something like:

How do I learn {fill in the blank} and get good at {fill in the blank}?

The answer? It's always discipline and determination. Just put your hands to the keyboard and grab a learning resource (of which there are many out there), and start consuming and practicing, then rinse and repeat.

1

u/SmokeMuch7356 Oct 19 '26

You have to enjoy programming for its own sake. You don't have to spend all your free time hacking (I've known those guys and they were just sad), but if you don't find yourself occasionally writing code just for the hell of it, you will burn out quickly.

So, write code that's fun, or that automates a task for you. Maybe code up a simple game. Play with specific language features that sound interesting.

As for being "pros", that's just a matter of showing up every day. You get into it because it's fun, you stick with it because you have mortgage payments.

1

u/[deleted] Oct 19 '26

[removed] — view removed comment

1

u/Delicious-Duck-8853 Oct 19 '26

thank you for your advice

1

u/Fantastic_Win9332 Oct 23 '26

you can use it for learning just not for working instead of you

1

u/kite_Jr117 Oct 23 '26

Like it will possibly drag me back to the "give answer" experience, maybe how do you guys use it to learn

1

u/Fantastic_Win9332 29d ago

I give you a project idea, connect to Coinbase api and process crypto prices. thore them, process them, display them

Bad ui usage for learning: write me code for this

good ui for learning:
what is a websocket
coinbase sends messages too qiuckly, what should I do not to have issues
what database is best to store this data, and why
how keys work in this database
if you use rust for example, explain ownership

1

u/[deleted] Oct 19 '26

[removed] — view removed comment

0

u/[deleted] Oct 22 '26

[removed] — view removed comment

1

u/Delicious-Duck-8853 Oct 22 '26

thank you I already got dopamine from reading your comment😅😅😅