Linked by Ritesh Kumar on Thu 13th May 2004 19:31 UTC
General Development In recent years "scripting languages" are becoming a path which is a must go for rapid application development. The open source community has seen many scripting language implementations. Some really popular and good ones available are perl and python.
Permalink for comment
To read all comments associated with this story, please click here.
I LOVE RUBY
by CitizenKane on Fri 14th May 2004 19:52 UTC

cos even RegExps are pure objects .... oh the joy, I weep for the elegance of this language. Perl and Python suck donkeys balls in comparison.

In Ruby
r1 = Regexp.new('^[a-z]+:\s+w+')

In python
p = re.compile('ab*') # ugh

In perl
(%@#$^*^) # double ugh


As Bruce Lee once said:

"Empty your mind. Be like water.
Put water into a cup, it becomes the cup.
Put water into a bottle, it becomes the bottle.
Put water into a teapot, it becomes the teapot.
Water can flow, it can creep, drip or crash!!!
Be water, my friend."

Ruby lets you be water.