r/learnpython • • Jan 01 '20

Will coding endlessly actually make you better and better at Python?

By now I know pretty much all the basics and things like generators, list comps, object oriented programming, magic methods and etc. But I see people on github writing extremely compilcated code and stuff that just goes right over my head, and I wonder how they got so good. When I look in this subreddit, most of the people just say code, code, code. I completely agree that helps in the beginning stages when you try to grasp the basics of python, it helped me alot too. But I don't see how you can continue to improve by only coding. Cause coding only reinforces and implements what you already know. Is just coding the projects you want to do, gonna get you up to the level that the professionals are at? How did they get so good? I kinda feel like I’ve hit a dead end and don’t even know what to do anymore. I'd like to know people's opinion on this, and what it really takes to become a professional python developer, or even a good programmer as a whole whether it be python or not.

598 Upvotes

159 comments sorted by

View all comments

Show parent comments

7

u/adruz007 Jan 02 '20

Bruh my strategy was trash based on this

I was like "hey I want to make a neural network" with 0 experience whatsoever and then I made it and now I know all the parts to make one more or less but I missed a ton of stuff on the way

10

u/LartTheLuser Jan 02 '20

I think RC planes are a good analogy for this. There are two opposite ways you could approach learning about RC planes. You could get a set of instructions and build one, then later figure out what you built and use the memory of the building process help you make the theoretical functioning concrete. Or you could learn the principles of how the components work and are put together first and then build a plane to make those principles concrete. Both ways you learn how an RC plane is built and functions.

But these are both flawed in that they separate learning a principle and using it to build something by too much time. It looks like you went the first approach and so now you can build something you don't understand. Someone else may go the opposite and may be able to wax poetic about something they can't even build a piece of. You ideally want to break down something complex, like the building and functioning of a neural net or RC plane, into simpler parts for which you can learn both the principles and how to build it in a reasonable amount of time. But you also want to acknowledge that learning builds upon itself and your long term plan should reflect that. Building your own neural net should come after building things that help you understand calculus, linear algebra, algorithms and statistical estimation.

Essentially, a CS curriculum is structured the way it is for good reason.

3

u/BigTheory88 slitherintopython.com Jan 02 '20

Neural networks are tough, theres a lot of maths and to really make sense of it you need to understand the maths. I don't know what level of experience you have with maths but do look into the math behind the algorithms, it'll clear a lot up, also take a look at linear algebra and multivariate calculus

0

u/[deleted] Jan 02 '20

[deleted]

4

u/adruz007 Jan 02 '20

I think the p was supposed to be capitalized

1

u/[deleted] Jan 02 '20

Sounds like a lot of work.

2

u/adruz007 Jan 02 '20

Oh I figured it out in like 2 weeks, the math isn't super complicated if you simplify it down to the individual operations. I made it play flappy bird lol

1

u/BigTheory88 slitherintopython.com Jan 02 '20

yeah its not too hard (if you're naturally good at maths and 2 weeks is definitely enough) but for others it may take longer.

2

u/ManvilleJ Manvillej Jan 02 '20

sometimes having a made up goal like "I want to make a neural network" enables you to learn a lot more than going through the basics. If you learned how to make a neural net, I would argue that it helped you learn what you needed to get where you are today and find out what you are missing.

This learning path is a checklist, not cooking recipe. More often than not, trying to do something challenging can help you learn a lot.

1

u/adruz007 Jan 02 '20

The only problem I'm facing now is there's stuff I need to go back and figure out that I missed

1

u/ManvilleJ Manvillej Jan 02 '20

thats just how it is though. learn (or relearn) as you go