Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Don't ask to ask, just ask
 
PerlMonks  

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??

Having done projects in Ruby and in Perl as well, maybe I can contribute a few personal impressions:

In both languages one can see the intent of the authors to make it practical to use. Larry and Matz both seem to prefer writing short, concise code over long winded ones (as you maybe would end up when using Java).

In both languages you find obscure and dark corners, but the ugly parts of Ruby are very different from the ugly parts of Perl. This comes to no surprise, as Matz, when inventing Ruby, had a deep Perl background and tried specifically to avoid the weaknesses of Perl.

Also, as always, what is ugly for me might be great for others. I dislike the Ruby feature to make it easy to define aliases for functions (where you can call the very same function by a variety of names), but others find it handy.

When it comes to writing programs (as opposed to reading them) I found both Perl and Ruby easy to learn. You come quickly to a point where you can produce useful code. In this respect, I find Ruby a bit easier, but this too is just my personal impression.

And, if you came (like me) from Perl to Ruby, you will feel familiar with many standard modules (Net::FTP etc.), because their design is patterned after their Perl equivalent.

I enjoy working with various languages. When I do shell scripting, I like to use both bash and zsh. When I do serious programming, I like to do both Perl and Ruby. I would be interested in doing somethin in Python, or Haskell, too. If you are like me in this respect, it might be worth giving Ruby a try...

-- 
Ronald Fischer <ynnor@mm.st>

In reply to Re: Ruby Before Perl? Nah. by rovf
in thread Ruby Before Perl? Nah. by starX

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • Outside of code tags, you may need to use entities for some characters:
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others pondering the Monastery: (5)
    As of 2014-04-17 02:00 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      April first is:







      Results (437 votes), past polls