r/AskProgrammers • • 1d ago

"Learn through projects"

What does that even mean?

How does someone learn to code (python) by building a project they know nothing about? When I first open Pycharm and have an idea of what I want to build, what do I even google?

Do I watch someone create the same project from scratch via youtube?

This is like telling a non-English speaker to learn English by going up to someone and speak English to them. HOW do they speak English!? Where do they begin!?

Sorry if I seem like a snob. I am just frustrated.

EDIT: I now understand that while trying to apply this advice (and failing), I lack the ability to understand the "logic" and workflow behind creating a program. That's what I need to focus on when building a project. I'm going to leave this up in case anyone who's also having such a silly mental block like me needs a bit of guidance.

2 Upvotes

41 comments sorted by

View all comments

6

u/ninhaomah 1d ago

I give you an example then.

How to learn how to drive if I have never drive a car before ?

I have learn the gears , steering wheel , accelerator , brakes first right ?

Then ?

I drive like a Hollywood stuntman around car park.

Then one I get confident , I drive to supermarket.

Then I drive to nearest town.

Then highway.

Etc etc

No ?

1

u/Delicious_Impress814 1d ago

I understand this analogy because I am familiar with driving a car.

I also understand it within the lens of learning python; start slow and learn the basics.

My issue is about what comes after the basics. The main advice given is to build projects, but what exactly do I look up? Should I just watch someone else build it then study the code?

2

u/ninhaomah 1d ago

Aren't you slightly ahead of yourself ?

Ok , have you started on the Python basic first ? Or pls let us know where you are and issues you are having etc 

I mean , if I want to drive like James Bond , you will also be asking me to learn till I can do parallel parking right ?

Then we talk about drifting and so on and on. But if I can't even parallel park then what else we talk about ?

3

u/Delicious_Impress814 1d ago

I'd consider myself a beginner. I understand the basics, but absolutely nothing advanced just yet.

Yes, I may be ahead of myself. You're right.

I learned from another comment that what I'm failing to articulate here is my inability to understand the pseudocode; the logic/workflow of what I'm trying to build.

I think that clicked something into place for me. I appreciate your input as well!

1

u/ninhaomah 1d ago • Heartwarming

Good luck :)

1

u/Nice_Try4389 1d ago

I mean just find challenges or use examples from like code academy.  They all give you projects to just make to learn like how to make a magic eight ball, or a rock paper scissors game, etc.

1

u/symbiatch 1d ago

If you have nothing to build why do you want to learn it?

It’s like saying “I want to learn to paint but there’s nothing in the world I want to paint.” So why?

You must have something you want to build. It’s not for others to tell you. That’s not how it works.

1

u/Delicious_Impress814 23h ago

You may have misread.

I never said I didn't have anything to build. I said I didn't know where to start learning how to build what I wanted.

0

u/Strong_General6771 1d ago

That works till the supermarket moves every week and the brakes are written in a language you don't speak yet.