Slashdot Mirror


Ruby, Now In English

PM4RK5 writes: "For those of you interested, the News & Observer had an interview with Andrew Hunt about Ruby, in response to a book he and David Thomas authored. The book, "The Pragmatic Programmer" was written for the old-fashioned programmers who seek to learn how to use newer technologies, and use them better. It has an example of code differences between Java and Ruby, on how to print 'Ho Ho Ho.' Contains information and thoughts on its current applications, how its growing, and the types of things that it is suited for."

2 of 20 comments (clear)

  1. local press by b-side.org · · Score: 2, Informative

    wow, it's weird to see a local rag doing such an in-depth article on programming. well done, N&O. (even weirder that it's my local rag, but, hey..)

    since i know all 6 people who read this article are going to skim it for exactly the same thing i did, here it is:

    To print "Ho Ho Ho" in Java, you have to write code like this: 'for (int i=0; i 3; i++)
    {System.err.print("Ho ");}.'

    In Ruby you write:

    '3.times do print "Ho " end.'

    --
    Indie rock lives! b-side!
  2. Last year in English by mlinksva · · Score: 3, Informative
    Actually Andy and Dave's book has been available for nearly a year. O'Reilly is scheduled to publish Ruby in a Nutshell this month, and Matz is scheduled to publish another English tome early next year. Sheesh, even Sams is getting into the picture soon apparently.

    More interesting might be slides from last month's Ruby conference as well as a nice writeup with pictures. Wish I could've been there!