Re:Ask HN: What's the best source code you've read?
by zonetti on Saturday September 10, 2022 @03:39PM
(#32793953)
Peter Norvig's spell checker: https://norvig.com/spell-correct.html
[ Parent
| on HN ]
Re:Ask HN: What's the best source code you've read?
by rmckayfleming on Saturday September 10, 2022 @09:05PM
(#32795945)
PAIP is easily one of my favourite programming books. It’s chapter after chapter of excellently presented programming. Each chapter takes you through a problem, a solution (typically multiple iterations and extensions) with detailed explanations of what’s happening (often with historical details). Also, it introduced me to many different tools I can use to solve programming problems.
Re:Ask HN: What's the best source code you've read?
by emmelaich on Saturday September 10, 2022 @04:04PM
(#32794163)
All Norvig's code is nice to read and also often enlightening.
Re:Ask HN: What's the best source code you've read?
by lee101 on Sunday September 11, 2022 @04:46AM
(#32797938)
Nice example, note to do autocomplete with something neural based these days like https://text-generator.io or huggingface or spelling with neuspell etc
Peter did done great ground work here and as things transitioned to neural nets, also peter appears randomly in my Chromecast with some nice photos he took lol