3 ms·
I've read a lot of code. Peter Norvig's code operates at a different level to anything else I've ever read. And he's been doing this a long time. I've read par
by biorach 5y ago
I've read a lot of code. Peter Norvig's code operates at a different level to anything else I've ever read.
And he's been doing this a long time. I've read part of the way through "Paradigms of Artificial Intelligence Programming" which is from 1991, and uses much the same approach as in the OP, but with Common Lisp.
- nl 5y agoHis code is beautiful and his explanations are so clear it makes me feel dumb for not seeing his solutions for myself. Obviously his approach is the right way. Except they usually aren't obvious until you've read the explanation. His 22 line spell checker[1] is a perfect example. [1] https://norvig.com/spell-correct.html https://norvig.com/spell-correct.html