Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I thought the process of Python mastery went something like:</p> <ol> <li>Discover <a href="http://en.wikipedia.org/wiki/List_comprehension#Python" rel="noreferrer">list comprehensions</a></li> <li>Discover <a href="http://en.wikipedia.org/wiki/Python_syntax_and_semantics#Generators" rel="noreferrer">generators</a></li> <li>Incorporate <a href="http://docs.python.org/library/functions.html" rel="noreferrer">map, reduce, filter, iter, range, xrange</a> often into your code</li> <li>Discover <a href="http://wiki.python.org/moin/PythonDecorators" rel="noreferrer">Decorators</a></li> <li>Write recursive functions, a lot</li> <li>Discover <a href="http://docs.python.org/library/itertools.html" rel="noreferrer">itertools</a> and <a href="http://docs.python.org/library/functools.html" rel="noreferrer">functools</a></li> <li>Read <a href="http://rads.stackoverflow.com/amzn/click/0596514980" rel="noreferrer">Real World Haskell</a> (<a href="http://book.realworldhaskell.org/read/" rel="noreferrer">read free online</a>)</li> <li>Rewrite all your old Python code with tons of higher order functions, recursion, and whatnot.</li> <li>Annoy your cubicle mates every time they present you with a Python class. Claim it could be "better" implemented as a dictionary plus some functions. Embrace functional programming.</li> <li>Rediscover the <a href="http://en.wikipedia.org/wiki/Strategy_pattern#Python" rel="noreferrer">Strategy</a> pattern and then <a href="http://rads.stackoverflow.com/amzn/click/0596007124" rel="noreferrer">all those things</a> from imperative code you tried so hard to forget after Haskell.</li> <li>Find a balance.</li> </ol>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload