Re: How's ruby compare to it older brother python

From: Brandon J. Van Every (try_vanevery_at_mycompanyname_at_yahoo.com)
Date: 04/26/04


Date: Mon, 26 Apr 2004 12:14:26 -0700

Cameron Laird wrote:
> .
> It's not just that "You won't know until you try" ("is it better
> to have children, or join the monastery?"); it's that you won't
> know until you try, *and it's inexpensive to try*! It's eminently
> feasible to gain experience in either language with a few hours (!)
> of work, as opposed to the weeks that must precede enlightenment
> about, say, J2EE servers.

Of course, those of us who are more into the Complete Waste Of Time [TM]
theory of selecting software components will simply give you the bottom
line:

- If you like Perl, you'll like Ruby. If you think Perl is a bletcherous
hack, you'll like Python.
- The Python community dwarfs the Ruby community.
- Both languages are slow.
- Python has lotsa libraries but not everything. Ask here regarding your
specific needs. Even if Python were the most elegant language in the world,
that's not useful if you must write everything from scratch and don't have
time to do it.

This is the kind of information you get by simply asking people and reading
lotsa archives. Some people say "Try it yourself!" is the only way to
learn. They are wrong, and they often don't value people's time. You
really can rely on other people's reported experiences of the nuclear
mushroom cloud exploding over the horizon. It is not strictly necessary to
walk into Ground Zero yourself.

Now, if you're going to argue "it's just a little Ruby code..." why don't
you try multiplying that by all the languages in the comp.lang.* hierarchy
that you could potentially be selecting from? Take a spin by the Language
Shootouts if you want to spin your head some more.
http://www.bagley.org/~doug/shootout/
http://dada.perl.it/shootout/
You need a filter of some kind for cutting down the options. I suggest
asking people, and seeing what languages actually got used for jobs relevant
to your software problem / industry.

I'm waiting for someone to say that my participation in this thread
constitutes trolling. I find it amusing that the boundary between
"intelligent language discussion" and "trolling" is mainly a matter of who
likes who, not the content. And, this is all I have to say on the subject,
so have fun.

-- 
Cheers,                     www.indiegamedesign.com
Brandon Van Every           Seattle, WA
"Troll" - (n.) Anything you don't like.
Usage: "He's just a troll."


Relevant Pages

  • Re: Ruby vs. PHP
    ... done is checked out which versions of Perl, Python, YARV, Ruby, jRuby ... dynamic language to the seconds for the benchmark with gcc. ... YARV, Python, Perl and PHP have fairly close medians and the boxes are ...
    (comp.lang.ruby)
  • Re: Why not adopt "Python Style" indentation for Ruby?
    ... *language* features where Python leads Ruby.) ... When you come right down to it, there are only a few basic syntax styles that have survived the test of time. ... I suppose assembly language syntax has also survived, and FORTRAN and COBOL, but I don't think anyone would design a new language with those. ...
    (comp.lang.ruby)
  • Re: This is why Ruby 1.8.6 can never be made to run anywhere near as fast as Python 2.5.1
    ... having come here from many years with another scripting language. ... Ruby Maniac wrote: ... Ruby syntax seems to favor the notion that fewer characters is better ... Python runtimes are not affected by the number of characters one uses ...
    (comp.lang.ruby)
  • Re: Why would I learn Python over other languages?
    ... >> languages, I also came across a language called Ruby. ... comparing Python to Ruby from those of you who have ... Ruby's documentation of its libraries is much worse. ...
    (comp.lang.python)
  • Re: A couple of questions from a Ruby neophyte
    ... It seems like regular expressions are slightly different from language ... you might understand how regex support looks bolted-on in Python. ... there are a couple things I think Ruby does better. ... Between Programming Ruby, Learning to Program, Everyday ...
    (comp.lang.ruby)