Hacker News new | past | comments | ask | show | jobs | submit login

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




That's very interesting. I found his code to be unreadable


Same, 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.


I second this; there's a lot one can learn about how to think about problems from Norvig's Pytudes.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: