Outstanding Objects (Developed Dirt Cheap)
Mark Leighton Fisher writes "Some readers might be interested in
Outstanding Objects (Developed Dirt Cheap); or "Why Don't Developers Search the Literature?" It seems like I still see a lot of wheel reinvention going on, even with the wealth of code and information now available on the Net."
It's because all us developers think our way is the better way :P
Rick
Making something out of nothing : MD5 ("") = d41d8cd98f00b204e9800998ecf8427e
Not to mention how much CPU time each of those takes. For example, check out the "tinyurl.pl" example in CPAN. It uses:
.6 user CPU seconds alone - an approximation of how much CPU time it takes to start up (and by my measurement, a pretty accurate approximation).
use POE;
use POE::Component::IRC;
use LWP::UserAgent;
use HTTP::Response;
use HTTP::Request::Common;
use URI::Find;
Each of which probably use a good number of libraries themselves. Running perl -wc on the script takes
Hell, check this out:
$ time perl -e "use POE"
0.23s real 0.21s user 0.01s system
Sick.
#!/usr/bin/env pythong .setPixmap(QPixmap("my_image.png"))g et(img)
import sys
from qt import *
a=QApplication(sys.argv)
img=QLabel(None)
im
a.setMainWid
img.show()
a.exec_loop()
9 lines.
You're welcome.
It would probably have been even shorter in Perl.
'Bloat' is not knowing the right tools for the task.
-- B.
This sig does in fact not have the property it claims not to have.