Stumbled upon norvig's pytudes years ago during a leetcode grind. His elegant approach to problems always had this touch of clarity that only few possess. Python, with its expressive syntax, combined with norvig's penchant for crafting illuminating examples, has definitely provided me with numerous 'aha' moments. I recall, early in my career when learning about bayesian probabilities, that it was peter's "how to write a spell checker" that made the abstract concrete for me. it's really heartening to see such a legend continuously contributing to and enriching the programming community.
It's inspirational to me that norvig still does these things. That he gets joy out of it so late in life, that he's still more than mentally adept at it, etc. Makes me feel like pursuing programming as a craft for life is a worthwhile option.
Norvig has always been a huge inspiration for me. I read his sudoku solving blog (<a href="https://norvig.com/sudoku.html" rel="nofollow noreferrer">https://norvig.com/sudoku.html</a>) when I was first teaching myself to code and it really helped me nurture a love for solving fun problems.
Etudes for Programmers is really hard to find to purchase - looks like it is around 450 USD on my local Amazon store and none in local libraries. Does anyone have a link to a PDF of it instead?
Last time I've read this, it had too much code golf with FP Python.<p>No one is using Python like that in the professional world. The most complex you'll see are simple comprehensions.<p>Python is supposed to be a readable language for newbies, like Golang.
So it’s supposed to be ‘exemplary’ and ‘beautiful’ but literally the first script I opened had global variables used. That’s not my idea of elegant Python.