By CodeJustin
via modernperlbooks.com
Submitted: Nov 06 2009 / 20:50
Some people claim that dynamic languages are too difficult to manage without using powerful IDEs. One theory is that a lack of static typing means that static analysis is insufficient to write and to manage great gobs of code.
I look at the problem differently. I don't want to manage great gobs of code. I want to use small, sharp, flexible, well-designed tools that I can fit together in a coherent form.
I wrote about recursion and tail call elimination in the Modern Perl book yesterday. As I was doing so, I realized that I should at least look at Yuval Kogman's new Sub::Call::Tail and Sub::Call::Recur.
Granted, I do have root privileges on my local machine (though with local::lib that doesn't matter anymore) and I have the suitable development tools installed (gcc, make, the Perl headers, system headers), and I have my CPAN client installed -- but installing these distributions to test was almost trivial:
$ cpan Sub::Call::Tail
In less than the time it took to read the documentation on search.cpan.org, the CPAN client prompted me for a sudo password. I changed three lines in my example code and ran the tests and everything passed.



Add your comment