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

90 Upvotes

102 comments sorted by

View all comments

Show parent comment

6

u/MrCodeGameandAnime Nov 01 '26

Exactly. It's like expecting you to draw the Mona Lisa just because you picked up a paint brush, else you're trash and don't get it 😂😂😂

That's why I have always stuck to myself over the years because most people don't care. It's just a giant pissing contest. I'll gladly help you out with a project. Do you currently use version control like GitHub? That's the best place to start, so someone can help and work with you. What do you have in mind?

0

u/[deleted] Nov 01 '26

[deleted] — view deleted comment

1

u/AutoModerator Nov 01 '26

Your post/comment was removed since we do not approve of going private.

There is zero benefit in going private as you lose the opportunity for getting peer reviews. Also we have had plenty of people return after going private (despite being warned) complaining about how they were ghosted after some time or being tricked into buying rubbish that didn't work and even if it did they didn't need.

Our Rule #11 demands that any and all communication happens in the open, public subreddit.

This is for the benefit of more against the benefit of one.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/slightlypug Nov 01 '26

haha awesome! i do use GitHub! i was thinking maybe something with Pandas, NumPy, Scikit-learn, or even something with robotics because i like that like ROS 2 and Gazebo. But anything with those libraries, or even just Pandas and NumPy, sounds like fun! do you have any ideas?

2

u/MrCodeGameandAnime Nov 01 '26

You understood the analogy for "solve problems" to painting the Mona Lisa, and your answer is data science? 😂😂😂

Oh fuck. You're a funny guy. Ironically, I've done some work with linear regression via numpy, pandas, and matplotlib, but do you actually understand what you're expecting when you don't even know where to start?

I'll do you one better.

Can you store and retrieve data from a database?

1

u/slightlypug Nov 01 '26

haha! i see what you mean. n o i cannot. my instincts jump to SQL. in that case, may i ask where do you think is an interesting starting point? i’m not really sure what would be interesting, i know i just want to build a consistent learning routine and build something fun

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

2

u/slightlypug Nov 01 '26

Ok awesome! I’ll get to this asap and get back to you when I’m done. thanks man this is wonderful

2

u/MrCodeGameandAnime Nov 01 '26

Take your time and learn these concepts properly. I'm not banning or telling you not to use AI, but please learn them correctly. Be able to explain it to me. That's the point of this exercise. No rush.

2

u/slightlypug Nov 01 '26

Ok I have a rough draft up on GitHub! Let me know what you think: https://github.com/sammyt07/store-retrieve-users

2

u/MrCodeGameandAnime Nov 01 '26

Good start. Before we move on, there are two things I want you to fix. I asked you to document where you found the information you used to solve this, and I don't see any sources. Add those. Second, clone your repository somewhere clean and follow the README exactly as though you've never seen the project before. Fix anything you find. Let me know when that's done.

2

u/slightlypug Nov 01 '26

Ok got it! Gosh duh, I see that error with cloning the repository. I can't believe I wrote that for C++ lol

→ More replies