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

92 Upvotes

102 comments sorted by

View all comments

2

u/RunToBecome Nov 01 '26

I recommend following a textbook and then working through the exercises to get a better feel for writing code, and then you can double check your solution with AI. That slowly builds up so you start feeling fluent with the language - you get confident in knowing how to write things up.

1

u/slightlypug Nov 01 '26

would you recommend doing this before doing a project? everyone says learn by doing, but a textbook sounds like a more structured approach

1

u/RunToBecome Nov 03 '26

textbook for structured approach definitely.

Starting to build a project without knowing anything is quite difficult. A good textbook walks you through mini-projects anyways.