<story><title>Pytudes: Python programs for perfecting particular programming skills</title><url>https://github.com/norvig/pytudes</url></story><parent_chain></parent_chain><comment><author>mark_l_watson</author><text>What I find interesting is how Peter builds bottom up solutions using low level utilities. This is how I have always coded in Lisp languages, but when I use Python I tend to write little monoliths. Since I now have to use Python for most of my work (deep learning), I should change the way I use Python. Reading his code is educational.&lt;p&gt;Peter and I each wrote a Common Lisp book about 25 years ago and a few years after that we had lunch and I was into Lisp and he had transitioned to the practicality of Python. I have a serious bias in favor of Lisp languages that probably has not served me very well. I once had a short talk with Alexis Ohanian about how he and his partner Steve had to convert Reddit from Common Lisp to Python, I think that he described the situation as something like “the Lisp version kept falling down.”</text></comment>
<story><title>Pytudes: Python programs for perfecting particular programming skills</title><url>https://github.com/norvig/pytudes</url></story><parent_chain></parent_chain><comment><author>wirthjason</author><text>I find Norvig’s style of Python a bit odd as it diverges from PEP-8ish style I’m accustomed to. Nothing wrong with it but he’ll redefine things, put functions on one line, etc. The good thing is that I challenges my understanding of what you can do with the language and how simple and expressive it can be.&lt;p&gt;For example I found this line of code cute. So much going on — no function definition, just a string literal method being assigned to a name (which any Linux programmer would get but a windows one may not).&lt;p&gt;&lt;pre&gt;&lt;code&gt;    cat = &amp;#x27;&amp;#x27;.join&lt;/code&gt;&lt;/pre&gt;</text></comment>