Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^3: OT: Ruby On Rails - your thoughts?

by adrianh (Chancellor)
on Nov 18, 2005 at 12:10 UTC ( [id://509745]=note: print w/replies, xml ) Need Help??


in reply to Re^2: OT: Ruby On Rails - your thoughts?
in thread OT: Ruby On Rails - your thoughts?

Having used Ruby a bit and Perl a lot, I definitely prefer Ruby's syntax. It has a lot of the same shortcuts that Perl does, but is significantly more regular. With better defaults. And I find that as I go to more complex conceptual code, Perl is far more likely to get ugly on me.

As the AOL folk would say - me too !

I loathe optional semicolons

I love 'em. The less I have to type the better :-)

Secondly, I strongly dislike the lack of a variable declaration, meaning that there is no easy equivalent of strict available.

Curiously enough I've never found this a problem. I thought I would when I first read the Pickaxe book - before I did any coding. However I've never found it a problem in real life. My guess is that my test suites catch these mistakes early enough for it never to be a problem.

Thirdly the Ruby philosophy of, "Oh, add every alias someone might expect for this" has a conceptual cost when reading someone else's code.

I agree this is a pain, but I think enough people are pushing back against this idea now that it's a problem the community will fix.

  • Comment on Re^3: OT: Ruby On Rails - your thoughts?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2024-04-24 08:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found