3 ms·
I thought I wrote good Perl code until I read the Perl core modules. Like night and day. Busybox and uClibc are great examples of efficient C code. I submitted
by throwaway892238 4y ago
I thought I wrote good Perl code until I read the Perl core modules. Like night and day.
Busybox and uClibc are great examples of efficient C code. I submitted a feature, and they basically rewrote it to be less crap, and that taught me a ton.
Hard to know what good Python code is. Everyone seems to use some framework that fundamentally changes how you write apps. "best source code" is probably just what's best for that specific kind of work.
- yjftsjthsd-h 4y ago> the Perl core modules Likewise I've head good things about the Python standard library; I suspect this works for many languages.
- eternityforest 4y agoThe stdlib is pretty impressive because you see stuff that at first glance looks like there's an obvious simpler way, but then notice the edge case their way handles or the extra thing it enables, and it's clear that it's all been polished over time.
- gopher_space 4y ago> I thought I wrote good Perl code until I read the Perl core modules. Like night and day. For some reason the 2nd and subsequent editions of the O'Reilly Perl book completely altered the layout and presentation that Larry Wall had set up. The first edition of Programming Perl is the most *lucid* programming book I've ever read.