Perl vs. Ruby

Programming, for all ages and all languages.
Post Reply
User avatar
deadmutex
Member
Member
Posts: 85
Joined: Wed Sep 28, 2005 11:00 pm

Perl vs. Ruby

Post by deadmutex »

I was wondering: Perl and Ruby have many things in common, but what are the main differences between them? Which tasks would one use for each of the languages?
User avatar
deadmutex
Member
Member
Posts: 85
Joined: Wed Sep 28, 2005 11:00 pm

Post by deadmutex »

Mmm... Are there any important differences between them or does it truly come down to preference when using them?
User avatar
Alboin
Member
Member
Posts: 1466
Joined: Thu Jan 04, 2007 3:29 pm
Location: Noricum and Pannonia

Post by Alboin »

They're both general purpose. It's just a matter of which you like better.

The thing about Ruby, however, is that it (At least from what little experience I have with it.) incorporates a lot of different programming styles (functional, logic, etc.) while Perl stays mainly imperative.
C8H10N4O2 | #446691 | Trust the nodes.
Post Reply