Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Please re-read my comment. I understand what he did, but my points stand.

The name `SET` conveys little. Running the exercise in the same file is OK as it’s not in a module, but again - the work demonstrates algorithms well enough, but I can’t see this coding style as “smart” or “clean”. It’s not.



Top of the file:

""" Game of Set (Peter Norvig 2010-2015) """

It's the name of the problem being solved.


Yeah, `game.py` would've been great!




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

Search: