http://qs321.pair.com?node_id=38599


in reply to Other programming language I most often use

I am quite suprised that nobody has mentioned Ruby? It seems like a very obvious language choice for perlmonks, looking for a bit more clean oo aproach. I am an old newtonscript (self inspired prototype based oo language) hacker, and find Ruby to contain most of my favorit oo features(along with some nice new stuff, such as their iterator concept) combined with most of my favorite Perl features...

A search on Ruby didn't show nuch of any real discussions about Ruby on this site.. do people not know or care about Ruby??
Update : even the super search only returns 3 nodes containg the word ruby... *scary*

Edit: footpad, ~Tue Nov 20 14:51:29 2001 (UTC)

Replies are listed 'Best First'.
RE: Where's Ruby?
by Zoogie (Curate) on Oct 26, 2000 at 18:40 UTC
    I've been interested in learning Ruby, especially since I'm studying programming languages. The particular features of the language that interest me are the smooth (imo) object handling and string handling. I need to find a project (and the time) to sit down and actually put Ruby to use, though...

    For those who have not heard of Ruby, the Ruby Home Page is a good place to start. Also, for FreeBSD users, there are already quite a few Ruby resources available in the Ports collection.

    - Zoogie

    Edit: footpad, ~Tue Nov 20 14:51:29 2001 (UTC)

RE: Where's Ruby?
by princepawn (Parson) on Oct 26, 2000 at 18:58 UTC
    Well, I have heard a few things about it. Here is a ref I digged up:
  • Slide Presentation Summary Wow! check out how to open a file and grep for something in Ruby:
    File.open('file.txt').grep /^jubjub-bird$/
  • Brave GNU World's Article on Ruby. Summary has multi-threading independent of OS. Has mod_ruby for Apache. Plans for Ruby to be a successor and replacement for Perl.
  • 37 reasons I love Ruby Summary: I really dont see much in these reasons. Good luck Ruby.
  • The FAQ at Ruby Central Summary Now this is nice. You can serialize and restore objects. Some parts of perl are not truly serializable (sub refs and code refs).
  • Sunworld's "New Choices for Scripting" Summary: Lots of cool languages here
    1. FICL --- has java interface (FIJI) that allows one to script Java programs
    2. Ruby -- hmmm not too much interesting here.
  • Ruby on the Web Summary Lots more links.

    Edit: footpad, ~Tue Nov 20 14:51:29 2001 (UTC)

      • It is truly an object oriented language... no hybrid datatypes!
      • Prototype OO style singletons, ie. you can add methods to allready instantiated objects
      • Concept of iterators native in the language
      • A lot of nice Perl'ishness.. ex. regexps and $_
        It is truly an object oriented language... no hybrid datatypes!
        When I gave it a glance a while back, it didn't look like you could subclass or extend the built-in classes. Did I read that wrong?

        Or am I just confusing it with that so-called OO language being hyped by Sun? {grin}

        -- Randal L. Schwartz, Perl hacker