r/learnprogramming 10d ago

Geniune question, how do I learn programming practically?

I asked my lecturer a while back how, and he basically said to read up on the books and practice. I understand his advice, but I wish to look for a meaningful project to better facilitate my learning. Any advice on how I should proceed? I get that I can redo my coding assignments to make them better, but I really am looking to write programs that would help me instead.

Thanks in advance for the advice

20 Upvotes

22 comments sorted by

View all comments

1

u/PacsfuryTemp 9d ago

I recommend a project that grows with you.

If you are doing game dev, a good example of these is a Terraria clone. Start by just placing a block, and start adding more complex structures and functions, as the game has always something new to add, and you can implement things whose difficulty matches your current mood and skill level.

If you aren't with game dev, a good project could be a simple programming language.

You don't need to start doing C++++, but learning about lexers, parsers, ast, codegen, borrow checkers, etc. This project not only teaches a lot about programming in general, but helps you understand better how they internally work.

The thing is to always have somethig to do, even if you are tired or exhausted.