3 ms·
Peter Norvig's Pytudes was recently posted here. I think that's some of the best code I've read, although they're only small problems and not a bigger project.
by sorenjan 3y ago
Peter Norvig's Pytudes was recently posted here. I think that's some of the best code I've read, although they're only small problems and not a bigger project. Still very much worth a read, he goes through the whole problem solving through code process.
https://github.com/norvig/pytudes https://github.com/norvig/pytudes
- YossarianFrPrez 3y agoI second this; there's a lot one can learn about how to think about problems from Norvig's Pytudes.
- lijok 3y agoThat's very interesting. I found his code to be unreadable
- kif 3y agoSame, actually. Perhaps some of it is due to the naming convention. For instance, in the Lisp interpreter, he tends to use "parms". Which I assume is short for "parameters". That makes me think of parmesan cheese -- "params" would be a better fit.