Hacker News new | ask | show | jobs
by simon_weber 4726 days ago
I'm surprised not to see my two favorite learning resources in the comments yet: reading code and getting code reviews.

Exercises are great, but unless you have a way of getting feedback on your solutions, you will progress slowly. Practice doesn't make perfect: perfect practice does.

There's a lot of good code to read. I'd recommend starting with Flask - you already have the context of using it. You might also consider checking out something that Kenneth Reitz has written. Whenever you don't understand why they chose to write something a certain way, ask! Both have very active irc channels.

Speaking of irc, #python is a great place to find reviewers. There are (mostly) friendly folks there at any time of day. You'll maximize your chances of a good review by:

1) having a concrete question to ask: "I'm not sure about my use of kwarg unpacking on line 12; would anyone have done it a different way?"

2) providing a small program (or section of a program) for review. People are generous, but likely won't spend an hour reviewing a few hundred lines of code =)

I hope that helps! Feel free to email me if you're having trouble finding reviewers; I'm no Armin Ronacher, but I've written a good amount of Python.