r/learnpython • • Mar 22 '23

What do you even code?

I am a beginner to python and all coding. I don't know much. All the recommendations are "code everyday". Practice every day is great but what do I practice? Do I open up an empty IDE and code what? I don't know how to do any projects on my own. Do I just YouTube crap and copy them or what? What do I actually code?

341 Upvotes

107 comments sorted by

View all comments

5

u/Feroc Agile Coach Mar 22 '23

Why do you want to code? What's your goal?

The programming language is just a tool that helps you to create something. It's like saying "I want to learn how to hammer", usually that's not a thing. You need to learn how to use the hammer if you want to build a cupboard, a mailbox, a dog house... depending on what you want to build you may have to learn different hammering techniques or even a different hammer.

So, what's your goal? What do you actually want to build?

7

u/SquaremanJ Mar 22 '23

While it can be like that at a high level, on paper, it’s not really a fair comparison; especially not for the question OP posed to us.

He didn’t ask about the hammer itself. He asked about the cupboard — but not directly. He doesn’t even know the cupboard exists yet. He just knows that he wants to practice hammering, but doesn’t know how to practice hammering!

I had this same problem early on (only a junior (career-changing) CS student, so I’m no pro!)), where I had no clue what the hell to code. I had no “problems” I needed solved, and nothing in my life that could benefit from automation. My mind went blank, from a creativity standpoint, when it boiled down to actually figuring out something I wanted to build, so I could practice practical coding.

I’m pretty sure that’s what OP is getting at here.

1

u/Feroc Agile Coach Mar 23 '23

Yes, comparisons always lag somewhere.

I think you should still have a goal in mind, something you want to work towards. Depending on the goal, the way to get there can be different.

To come back to the comparison: I wouldn't recommend building fine kitchen furniture if he actually just wants to do some outdoor crafting.