Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

RE: Where's Ruby?

by princepawn (Parson)
on Oct 26, 2000 at 18:58 UTC ( [id://38627]=note: print w/replies, xml ) Need Help??


in reply to Where's Ruby?
in thread Other programming language I most often use

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)

  • Replies are listed 'Best First'.
    My own "why I like Ruby" list
    by kapper (Chaplain) on Oct 26, 2000 at 21:36 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

          The following code will output Ruby is a great language!
          a="Perl" def a.+ other "Ruby"+other end a+=" is a great language!\n"
          So, ruby does actually allow you to extend and redefine it's built-classes.. the example also works if you define a new class which inherits String, instead of using singleton style inheritance.. I have not however tested this with every built-in class, but those I have tried it with, worked fine!

          Or am I just confusing it with that so-called OO language being hyped by Sun? {grin}
          He he... probably... I have had alot of beginners getting really confused over the hybrid style of Java...
          Heh, no, Ruby is much more dynamic than that :) You can subclass, extend, etc. to your heart's desire.

    Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Domain Nodelet?
    Node Status?
    node history
    Node Type: note [id://38627]
    help
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this?Last hourOther CB clients
    Other Users?
    Others musing on the Monastery: (3)
    As of 2024-03-28 18:16 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found