Juan J. MartÃnez used to talk here about Open Source and Other Things.
This is a blog in archive mode, you can read new posts at en_GB@blog
April 21, 2010
"SQLite library consists of approximately 67.2 KSLOC of C code. (KSLOC means thousands of “Source Lines Of Code” or, in other words, lines of code excluding blank lines and comments.) By comparison, the project has 679 times as much test code and test scripts - 45678.3 KSLOC."
Impressive. In comparison, Perl 5.12.0 has 29826 tests*.
* from running egrep -ri "tests ?=> ?" * | perl -e '$s = 0; while(<>) { m/.*tests ?=> ?([0-9]+)/; $s+=$1;} print "total: $s\n"' inside t/ directory. Remember Tumblr RSS is broken, you may not see the right code in your feed reader.
"I’m tired of Perl being seen as a second-class citizen in the dynamic languages world. I freely admit that there’s a lot of bad Perl code out there (I’ll even admit to writing some of it) but it’s not bad Perl code because it’s Perl, it’s bad Perl code because it’s bad code."
Yes, I agree (indeed I’m guilty myself of coding some bad Perl code). Seems that Perl it’s the only one language capable of having bad practices: unmaintainable code, unreadable code, etc; or what it’s even worse, the only one language not being able to avoid these bad and undesirable things.