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
Show parent comment
3
u/MrCodeGameandAnime Nov 01 '26
Perfect, let's start with walking before running else you're gonna be trying to solve quantum physics with php next. Interesting may not be the best place to start. Foundational is far more accurate.
Make a Python script that accepts a name and age, stores them in SQLite, and lets me retrieve a person by name. Just Python, sqlite3, and whatever documentation you need.
Once you're done push it to GitHub and send a link. I'll look it over and let you know the next steps. This will push you to learn more AND I already gave you hint in my previous answers.
Make sure to show your work. Where did you find your answers. That will tell me how you solved it. Any reference is ok. If you do this properly I'll tell you the exact book you want because I have it myself 😂😂😂