Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Score: Perl 1, Ruby 0

by adrianh (Chancellor)
on Feb 22, 2006 at 13:20 UTC ( [id://531948]=note: print w/replies, xml ) Need Help??


in reply to Re: Score: Perl 1, Ruby 0
in thread Score: Perl 1, Ruby 0

My main disappointments in Ruby so far have been the lack of autovivification in multi-dimensional arrays (doing dynamic programming without it is a PITA)

Curiously not something I've ever had problems with. I guess I've wrapped stuff up in an object before I need multiple levels of indirection so the autovivification stuff never hits me.

and the available documentation not meeting my expectations.

Buy the Pickaxe book. It's well worth the money.

Ruby does make me appreciate the "Huffman coding" of Perl.

I think that this depends on what you're doing. I'm finding my Ruby tends to be more concise than my Perl 5.

(Happily using Ruby in the real world :-)

Replies are listed 'Best First'.
Re^3: Score: Perl 1, Ruby 0
by j3 (Friar) on Mar 29, 2007 at 20:23 UTC
    and the available documentation not meeting my expectations.
    Buy the Pickaxe book. It's well worth the money.

    I spent some time using Ruby last year. Bought the Pickaxe too. Ruby is definitely a nice language, but it's problem is not just that it's lacking in docs, but that it's lacking in commitment to docs. The Pickaxe is a pretty good book, granted. But I got the impression that the core Ruby people just aren't all that committed to making sure they have great docs. It's just not a priority for them, and that's fine -- that's their choice. And it's understood that they've got a lot on their plate.

    After spending a few months with Ruby, then coming back to Perl, one of the first things I immediately noticed was, "Wow, I almost forgot how darn *good* the Perl docs are." (the other thing I said to myself was, "Wow, I almost forgot how *vast* the CPAN is" -- but that's is beside the point, since Ruby is still young).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://531948]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (5)
As of 2024-04-24 22:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found