Speaking of Simon, when I invited him I was preparing a Perl session. The interesting, was his answer: should I talk about Perl or Ruby?
I know ruby already (well, I know it exists, and I did see some code examples) but I wasn't expecting this "change" from Simon.
When I compile Ruby, I love to have a autoconf/automake installation scheme (shame on Perl) but I hate not having tests (shame on Ruby).
I still didn't have time to learn Ruby, but can you guys, who read this, point where Ruby is better than Perl, and where Perl is better than Ruby?
Re:Where is Ruby better....
ambs on 2004-01-30T10:33:24
I love perl OO:-) I hate to have to compile Perl again to have threads :(
Re:curious
ambs on 2004-01-30T10:30:45
In fact, I do not mind to have iteraction (ok, configure for Perl as too many iteraction
:-)). It is true, also, that Perl Configure has many interesting lines :-) Although I do not think that GNU configure/build system is an abomination (of course it could be better, but I think they accept suggestions) I like to have a package, and know how to install it (to have a recipe). configure && make && make check && make install...
Ok, you can say perl is similar (Configure && make && make test && make install) but you know that, I also know that. For a new user, he will waste some seconds/minutes to discover (not bad, he will learn something). For some others, they will think that Perl configure/build system is an abomination
:-) OK, after all this text, I didn't gave any good reason why I prefer configure/automake... maybe because we are too used to it...
Where Ruby is better:
=====================
OO and Exception handling
Extensions
Threads
Syntax is arguable (just talk to Python people!), but I prefer Ruby's.
Re:Ruby vs Perl - the short version
ambs on 2004-01-30T21:02:32
Only to say I like ugly syntaxes. I hate Python. Too much clean, and I can't manage to like forced indentation. I like to indent it, but when I have the time;)