Viewing By Entry / Main
January 20, 2006
Alexandru Costin thinks Ruby is the new Perl. I guess that explains why I took a dislike to Ruby without entirely knowing why. With hindsight, yes, it does remind me of Perl...

Comments

Sean, I'm curious as to why you dislike PERL. I started out programming in PERL. I've been using ColdFusion for 10 years now, and do almost all my coding in CF.

However, from time to time I run into situations where PERL is a significantly better choice for a task, so I still pull it out of my toolbelt periodically.

I'm not trying to start a debate, I'm just curious as to why you dislike PERL.

Gus


I find the syntax ugly and hard to read. I don't like terse, obtuse languages. It's just a personal preference. I generally don't like languages that use arbitary punctuation to introduce variable names, for example (Perl, PHP, Ruby...).


To be honest I would never have gotten into Ruby if Rails was not using it. Rails seems to be the Ruby killer app. The biggest selling point for me was the improved productivity and reduced no of lines of code. Momentum is definately with Ruby and Rails at the moment.


I learned to program in Java so I tend to agree with Sean about the syntax annoyances of Perl or PHP. But after playing with Ruby on Rails for a while, I am hooked. The language develops a style and flow when you get to know it. I never really felt that way about visual basic code, either. Maybe I just had a poor understanding of the constructs, but I always thought VB made you go around your back to get to your elbow.

I'm rambling. Goodnight.


I don't like the syntax of PHP either, I find it very hard to read. I haven't looked at Perl in quite some time, but I remember feeling pretty much the same way about it.

I've only just begun looking into Ruby on Rails and so far it looks pretty cool. I haven't spent enough time on the Ruby language itself to really form an opinion though.


Hey Sean,

Not to keen on the $<, $@ etc myself but there is an 'English' module in Ruby that adds more verbose synonyms for the global $... variables.

Of course you can write terse, hard to read gibberish in any language, in the second edition of the "Pickaxe" book there seems to be some efforts to encourage people away from the Perl-like aspects of the language


I've been exploring Ruby for the last few weeks and for all the good I have found in the reduced coding, the klunkiness of the syntax has definitely turned me off. Not to mention that it doesn't generate standards based pages out of the box (what year is this again?).


Post Your Comments
Name:
Email Address:
Comments
*** Please note that all comments require moderation so it may be some time before your comment posts to this blog! ***
Remember My Information:
 



Hosting provided by