Craftsman #50: Ruby 14

Posted by Uncle Bob Fri, 15 Jun 2007 04:30:12 GMT

Here is my latest Craftsman article. Aphonse, Jerry, Jasmine, and the crew learn a little bit about Ruby, and fight about it’s benefits and dangers.

Comments

Leave a response

  1. Avatar
    Aaron 5 days later:

    Pretty cool.

    But there is no doubt, I think, it is a trade between early and late binding. Just as what OO does for polymiorphism couple of decades ago, with it method invoking can’t take effect util runtime rather than compile time. Further more, concrete class can be isolated without the knowing of the calling class.

    Now, it seems Ruby goes even further, it makes class invoking runtime available. It is still an idea of polymiorphism but somehow in a much higher level.

    I am not sure if my understanding is right, cause I am not familiar with Ruby very much. But it just let me think of that.

  2. Avatar
    Luis Sergio Oliveira 14 days later:

    I’m now learning Common Lisp and this whole excitement around Ruby just seams pointless…

    I just wonder – could Jasmine remember her good old days back in college or university where some guys told her that if she wasn’t satisfied with the languages’ OOP support she could implement her own version via MOP or modify it easily with some simple macros?

    Nevertheless, I’m very happy there is one more craftsman column to have some quality reading time. You’re writings are always inspiring :-)

    PS: I understand that probably Rails and the new libraries (e.g. rspec) out of the Ruby community are the main benefit of current importance being given to it…

  3. Avatar
    Cliff 2 months later:

    Bob,

    What about Groovy??!! I’ve been following your Craftsmen series over the past year or so and I think that Alphonse Jerry and Jasmine should have a bout with Groovy instead of Ruby. Or maybe that would make an interesting upcoming article to compare/contrast the two languages? Keep up the good work! Love your articles! Holla-back!

    Cliff

  4. Avatar
    Brian Slesinsky 12 months later:

    If you rename createCpp or createJava, it will break just the same. So that’s an implicit interface. The question isn’t whether you implement an interface or not, but whether you implement a visible or invisible interface.

    (I’m also somewhat confused about why these articles are written using story-obfuscation.)

  5. Avatar
    ed hardy over 2 years later:

    Thankyou alot for this information, and looking forward to reading more in the future, as I have bookmarked your site, this post is really very informative. thanks

  6. Avatar
    clothing button over 3 years later:

    Before you enter louis vuitton wallets that credit card rolex watch number,check that the page is secure. There replica rolex watches should be a small lock icon on the bottom pane of your browser.Setup a free web-based gucci purses.zf

  7. Avatar
    Pandora over 3 years later:

    However RSpec uses an alternative syntax that reads more like a specification than like a test. Let me show you what I mean.

  8. Avatar
    shaded pold motor over 4 years later:

    Your site is amazing.I am very impressed to see this,i want to come back for visiting your site.Keep doing Good as well as you can.

  9. Avatar
    Tenant Screening over 4 years later:

    Nevertheless, I’m very happy there is one more craftsman column to have some quality reading time. You’re writings are always inspiring

  10. Avatar
    Tenant Screening over 4 years later:

    So that’s an implicit interface. The question isn’t whether you implement an interface or not, but whether you implement a visible or invisible interface.

  11. Avatar
    Tenant Screening over 4 years later:

    The question isn’t whether you implement an interface or not, but whether you implement a visible or invisible interface. Anyway, thank you a lot for this information, and looking forward to reading more in the future.

  12. Avatar
    Criminal Records over 4 years later:

    Now, it seems Ruby goes even further, it makes class invoking runtime available. It is still an idea of polymiorphism but somehow in a much higher level.

  13. Avatar
    okey oyunu oyna over 4 years later:

    thank you so much.

    Okey oynamak hiç bu kadar zevkli olmadi. Online ve 3 boyutlu okey oyunu oyna ve turnuvalara sende katil.

  14. Avatar
    Longchamp outlet over 4 years later:

    I’m really impressed about the quality of the content, thanks and keep on like this!

    I’m just surprised to study how much of facts I received on this unique subject matter.

    really helps and very useful.

    I have found so many interesting thing in your blog and I really love that.

    There is obviously a lot to know about this. I think you made some good points in Features.

Comments