Do they know they're learning Perl?

perrin on 2006-07-14T19:30:57

In this article on IBM's DeveloperWorks site, Bruce Tate (the guy who has been pimping Ruby in his book "Beyond Java") teaches Java developers some basics of Ruby text generation. He talks about strings (when you use double quotes, they interpolate variables!) and eval (where have I seen that before?) and then shows a templating system that appears to be a Ruby port of Text::Template (or any of the similar embedded Perl code modules, but nowhere close to a more powerful system like TT). Funny thing -- it all looks exactly like perl code, and demonstrates basic features of Perl.

I wonder if these Java programmers who are getting excited about learning Ruby realize that they're actually being taught Perl. Our evil plot to change the name to Ruby has succeeded beyond our wildest dreams. Welcome to the fold, DeveloperWorks readers.


I only wish;...

sigzero on 2006-07-15T01:47:29

I am firmly in the Perl camp but I do wish for an interactive interpreter like Ruby, Python and even Tcl have. Perl's is, well, not something I brag about.

Re:I only wish;...

perrin on 2006-07-15T03:00:26

A shell, you mean? Aren't there dozens of them for perl? Not to mention the debugger.

Re:I only wish;...

sigzero on 2006-07-15T11:13:36

The Pelr ones are still not as good as the other 3. Anyway I did rate the article and say it could have been a Perl article and Perl has much better templating systems. TT rules.