News for hackers. Stuff that matters.
Re:Peter Norvig's “pytudes” for Advent of Code 2020 by monksdream on Friday January 08, 2021 @05:37AM (#25683361)
Probably the most indicative part of Norvig's code beauty is the requirements file [0]. With python developers being infamous for importing obscure/questionable libraries for even a simple task, I love how Norvig solved all these with just native libraries and the staples numpy/plt.

[0]: https://github.com/norvig/pytudes/blob/master/requirements.t...

Re:Peter Norvig's “pytudes” for Advent of Code 2020 by maccard on Friday January 08, 2021 @05:45AM (#25683394)
Why do you think python has that reputation? I don't associate it with python, I associate that with npm/js
Re:Peter Norvig's “pytudes” for Advent of Code 2020 by q3k on Friday January 08, 2021 @07:43AM (#25684072)
Yeah, from my experience NPM/JS and Cargo/Rust win that competition by a landslide. Python has a very powerful standard library.