Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

comment on

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

Back in February I used Ruby and RoR for the first time, on a month-long project. My impression: Ruby is a great language. It feels cleaner and more consistent than Perl yet remains powerful. Further, its cleanliness and consistency encourage programmers to gain a deeper understanding of the language's underlying semantics, and that has enabled the Ruby community to develop elegant and sophisticated meta-programming techniques and incorporate them into the culture. And that is what excites me about Ruby.

Rails is a great example of this. It uses meta-programming extensively to embed domain-specific mini-languages into Ruby. These mini-languages make object-relational mapping, controller-view integration, and other aspects of web programming seem natural, effortless even. In many ways, Rails offers what Damian Conway argues for in his talk about Sufficiently Advanced Technologies.

Catalyst, in comparison, seems clunky. While it may offer advanced technologies for web programming, they fall short the more "sufficiently advanced" versions that Rails offers. In many ways, this isn't a failing of Catalyst but merely a reflection of Perl and Perl culture. Many of the Rubyisms that make Rails elegant don't resonate within Perl. Using them in Catalyst would make it seem less Perlish and perhaps even awkward.

Don't get me wrong: while I like Rails, it's by no means perfect. All in all, I would characterize it as darn good but not amazing. (Well, maybe if you're coming from Java/.NET, it might seem amazing.) Its caching model has problems. The Rails culture is somewhat enamored of sexiness and often overlooks things like web accessibility and safety (see, e.g., Google Web Accelerator vs. unsafe linking: Round Two!). Also, the incessant hype is annoying.

Nevertheless, Rails is changing the way web applications are written. If you ignore Rails, you're guaranteed to miss something important.

If you want to know a bit more about Ruby/RoR, I gave a talk about my experiences for the Pittsburgh Perl Mongers. You can get the slides here: Ruby and Ruby on Rails: A Perlish First Impression.


In reply to Re: OT: Ruby On Rails - your thoughts? by tmoertel
in thread OT: Ruby On Rails - your thoughts? by Cody Pendant

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!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • 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
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            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?

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

    How do I use this? | Other CB clients
    Other Users?
    Others imbibing at the Monastery: (5)
    As of 2020-12-02 13:46 GMT
    Find Nodes?
      Voting Booth?
      How often do you use taint mode?

      Results (41 votes). Check out past polls.