View Single Post
Old 25th May 2008
matt matt is offline
Port Guard
Join Date: May 2008
Posts: 13
Default Ruby vs Perl

I started learning Ruby about a month ago and I like it a lot more than Perl. The syntax is a lot cleaner and easier to work with. Take functions, for example. You can just say:
def fn(param1, param2, param3)
instead of:
sub fn {
  my ($param1, $param2, $param3) = @_;
That just seems so much harder than it needs to be. I practically have to break out the book every time I want to declare a function in Perl. I like Ruby a lot better. I think the design of it is just really good.
Reply With Quote