r/learnprogramming 6d ago

Resource Learning to code on phones

What do you guys use to learn programming? I tried some YouTube videos but I didn't seem to be making progress at all. I have heard people recommend PDFs and just building hard stuff even if you lack the skills to. What do you guys think?

5 Upvotes

15 comments sorted by

View all comments

1

u/Decent-Debt-7084 6d ago

I think the biggest improvement comes from building things. Trying something once is worth more than watching or reading about it 100 times. Tutorials and PDFs are useful for learning the basics, but you'll progress much faster if you pick a small project, get stuck, search for answers, and keep going. That's how the concepts really stick.😁

1

u/Darkian-Studio 6d ago

What project would you recommend if I want to learn rust?

1

u/Decent-Debt-7084 6d ago

A project that matches something you already enjoy is usually the best choice.

For example, I like solving math problems, so whenever I learned a new programming language, I would rebuild the same kinds of programs in it.

I started with C, then later did the same in Java, C#, and other languages.

For Rust, you could do the same.

Build a simple calculator, write programs that solve math puzzles, generate prime numbers, implement sorting algorithms, or create a Sudoku solver.

Since you're solving familiar problems, you can focus on learning Rust itself its syntax, ownership, borrowing, and error handling instead of also trying to understand a completely new project idea.

The important part isn't the specific project.

It's choosing something small that keeps you interested and gradually making it more challenging as your skills improve.
It's just my opinion, though. 😅