TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Pytudes

270 pointsby sonabinuover 1 year ago

12 comments

canvascriticover 1 year ago
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.
评论 #37249327 未加载
nailloover 1 year ago
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.
评论 #37249013 未加载
shrubbleover 1 year ago
This is a reference to the older book, Etudes For Programmers by Charles Wetherell which Norvig is no doubt appreciative of.
评论 #37244465 未加载
gorenbover 1 year ago
There should be more of these: ctudes, jstudes, etc.
pantsforbirdsover 1 year ago
Norvig has always been a huge inspiration for me. I read his sudoku solving blog (<a href="https:&#x2F;&#x2F;norvig.com&#x2F;sudoku.html" rel="nofollow noreferrer">https:&#x2F;&#x2F;norvig.com&#x2F;sudoku.html</a>) when I was first teaching myself to code and it really helped me nurture a love for solving fun problems.
Eddygandrover 1 year ago
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?
评论 #37247517 未加载
评论 #37259112 未加载
评论 #37246985 未加载
dagurpover 1 year ago
I love the pickleball tournament example. I tried to implement this for badminton several years ago but I could never figure it out.
thrdbndndnover 1 year ago
Could someone provide some context? I can understand the py scripts, but is confused by these very long Jupyter notebooks.
评论 #37245993 未加载
评论 #37246578 未加载
selffover 1 year ago
Does anyone know similar etudes for system programming?
ChrisArchitectover 1 year ago
Anything new on these?
评论 #37244637 未加载
wheelerof4teover 1 year ago
Last time I&#x27;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&#x27;ll see are simple comprehensions.<p>Python is supposed to be a readable language for newbies, like Golang.
评论 #37247044 未加载
评论 #37247206 未加载
评论 #37246772 未加载
评论 #37246993 未加载
评论 #37250572 未加载
Yajirobeover 1 year ago
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.
评论 #37247069 未加载
评论 #37246413 未加载