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

87 Upvotes

102 comments sorted by

View all comments

Show parent comment

1

u/slightlypug Nov 01 '26

that’s a good idea, what would you recommend i start with if i chose Python?

2

u/robotman21a Nov 01 '26

Make a super simple small website, make a bot for a game like tic tac toe, battleship, or wordle.

1

u/slightlypug Nov 01 '26

thanks man!

2

u/DanKegel Nov 01 '26

Or even just implement Conway's Game of Life. I did that back when I was starting...

1

u/E3FxGaming Nov 01 '26

If you want to apply your Data Structures and Algorithms knowledge, the next Advent of Code (https://adventofcode.com/events) is kicking off in a month, you can check out and do previous year's puzzles to see if that is something you'd be interested in.

Advent of Code can be solved in any touring complete programming language, so you could even solve it in Python now and re-visit it when feel up to doing it in C++ later.

The answer to the puzzles is never brute-force, though you can obviously leverage anything and everything that your chosen programming language offers to cut down the complexity of problems here and there.

You should learn the basic building blocks of programming (sequences, loops, branches) that glue together your DSA knowledge for the chosen programming language before attempting the puzzles though.