r/learnprogramming • u/slightlypug • Nov 01 '26
feeling discouraged - coding is 'too hard'
im trying to get into learning C++. I've taken courses and have some experience with data structures and algorithms. but I can't code from scratch and when I go learn tutorials, I often feel like I can't do anything on my own. I know people say to sit with your code and debug in order to learn, but how do you even get to that point? I guess my question is: how do you actually learn to program from scratch?
edit: it looks like I've found a number of people looking to work on projects, so I made a discord for group projects! You can join here: https://discord.gg/ysbgcD8Baf
View all comments
69
u/MrCodeGameandAnime Nov 01 '26
The real issue with most of these comments is people are saying "solve something" which is incredibly abstract. Yes brother, go solve the world with code. You will know what you're doing. You are now deemed capable ๐๐๐
First and foremost, c++ is objectively one of the worst languages to start with. I'd put it right up there with OC, C, and C#. You'd have been better off with either python, java, php, kotlin, or swift. I don't even like js, but still. Some node, js, html, css, and you're off to the races for web development. Slap postgres + crud and you you're full stack.
The primary issue with learning c++ as your first language is the use cases for an early developer aren't concrete, so you get "solve something" as an answer. The secondary issue is you have no frame of reference on HOW to solve things. You are not going to just sit down and type out a program that solves an arbitrary problem if you have no clue what it should look like. Third, you know about data structures and algorithms, but that teaches you absolutely nothing about architecture.
What I'd strongly recommend is using something like courera or udemy to learn about building different kinds of applications. Even YouTube is great now. That will teach you have to "solve problems". This will give you a frame of reference. I've been programing for 7+ years now and it wasn't until a few years ago that I really turned the curve and started building things that were genuinely interesting, at scale, complex, and actually worth showing/talking about. Give yourself time. Software is a time thing.
Finally, there are two hacks:
Last but not least, expect it to be a lonely road where basically no one ever helps you, cares, teaches you anything, little community, and you being the only one to get you from point a to point b. Stay off of stack overflow. They are are even more highbrow than Reddit ๐๐๐
Best of luck and don't give up!