|
|
|
|
|
by nubela
4734 days ago
|
|
intermediate python is what i called learning the "pythonic way". the best way to learn imo is about fussing over if you're doing it the "pythonic way". then you might ask: what exact is the pythonic way? then it is hard to say. on a deeper level (that is coding style): you'd prefer list comprehensions over for loops (not always, but for simple iterables); prefering the functional approach -- immutable input/output on functions etc, learning map/reduce/etc; understanding the performance kinks of python, etc. on a higher-level, there is the python-for-humans. learn what it means to be beautiful code, not just in terms code style, but how people will use your code. a splendid example which i have immense amount of respect is the requests library by kennethreitz. retain your curiousity always. the day you lose these curiousity is when you become a mediocre programmer. don't be that guy. after you're done with these, go deeper. keep going. understand why the fuck people whine about GIL, about concurrency and how bitchy it is in python (and why), and even alternatives to python: for example. when not to use python. i wish you the best :) |
|