r/learnpython • • Jul 16 '20

Where to learn about Python program structure/design?

I'm self-taught in Python and am able to write programs that work, but I still don't feel like I know what I'm doing. Where can I learn about program structure/design?

I usually just start coding and one thing leads to another and pretty soon, I'm done. But I can't shake the feeling that a professional programmer would look at my code and laugh at how haphazard and inefficient it is. Any pointers or suggestions? Or are we just supposed to figure it out for ourselves?

375 Upvotes

57 comments sorted by

View all comments

2

u/fedeb95 Jul 17 '20

It comes a time where you have to abandon a specific language to learn in theory algorithms, data structures and architecture. There are resources that focus on a specific language I think, but anyway it's better to learn a few, because every language comes with its best practices and ideas that you can apply everywhere. For the experienced programmer languages are just a matter of learning syntax, dependency manager and things like that, because he/she knows in abstract how things work. Also learning low level stuff like C, even Assembly, is very useful. And at least at a basic level how a language works: compilers, parsers, etc... There's a lot of stuff, but the important is to grasp the concept at the basis, not being able to code everything

1

u/[deleted] Jul 17 '20

Is that an 80:20 rule?

1

u/fedeb95 Jul 17 '20

What do you mean?