147 of 154 people found the following review helpful:
4.0 out of 5 stars
Do I really have to learn _another_ programming language :-), April 24, 2005
This review is from: Programming Ruby: The Pragmatic Programmers' Guide, Second Edition (Paperback)
If you are like me, a busy programmer, I know you are wondering when you hear about Ruby, "Do I really have to learn yet another programming language?" I mean, Java, C#, Python? When will it ever end?
Well, it ends when you die, and yes, you do have to learn another programming language :-) But you'll like Ruby, I promise. Things I like about Ruby:
0. As easy to write scripts in as Perl, but it really scales.
1. Exceedingly self-consistent. Ruby has fewer syntactic warts than any programming language I'm familier with. All the features hang together very nicely.
2. Duck Typing: If you use a variable like a string, its a string. If you use it like a float, its a float. If you are familier with Haskell or or similarly typed languages, you get the idea. Ruby gives you about 80% of what Haskell gives you here.
3. Nice module system. This implements a nice mix-in facility--which gives you the power of C++ templates, with more structure. Also eliminates the need for multiple inheritance.
4. Wacky features like call/cc for the true language freaks.
Oh, so you want to know about the book too? Well, I agree with some of the reviewers here who describe the book as less of a tutorial/visionary screed/inspiring gospel and more of a reference manual. But I don't think this is a fair critique of the book. Back in the 60's, before the internet, a language needed a book to do for it what K&R did for C, or what Clocksin & Mellish did for prolog.
But today, you learn about a language by surfing the web. Instead of just duplicating what is available on the internet, this book complements the web, by supplying in a nice portable package what you need to know about Ruby which _can't_ be (easily) gotten from the web. Its a "post-internet" volume in this fashion.
Really the only critique of the book I can offer is that its description of Ruby/TK, the default GUI programming library for Ruby, is a bit abrieviated. It gives you the basics and the refers you a book about Perl/TK for the details. Please guys, in the next edition expand on this!
Ruby is a language which is as object-oriented as smallTalk, as flexible as Scheme, has the scriptibility of Perl, and a nice C-ish syntax. What's not to like? This book is the book to buy if you decide to learn Ruby.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
37 of 42 people found the following review helpful:
5.0 out of 5 stars
Worthy successor to the indispensable original, November 6, 2004
This review is from: Programming Ruby: The Pragmatic Programmers' Guide, Second Edition (Paperback)
Dave has done it again. Taking what was already an excellent first edition and growing it by 50%. He has updated all of the original chapters, the language walkthrough and the library reference.
Like most language books Programming Ruby starts with installing Ruby and then goes into a language reference; strings, classes, blocks, regular expressions, etc. It's all covered step by step with examples. The second part, Ruby and It's World, is a grab bag of chapters on more complex Ruby topics like graphical user interfaces, Ruby GEMs, and embedding Ruby.
Part III is a concise reference for Ruby that is handy when you already know the language but need a refresher. And the final part is a library reference with examples of using each method. This is the invaluable reference that you will use in every Ruby project.
This is the book to buy to learn Ruby, and to use as a desk reference. There is no question about that.
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No
19 of 20 people found the following review helpful:
5.0 out of 5 stars
A book that's as Ruby as Ruby itself!, May 19, 2005
This review is from: Programming Ruby: The Pragmatic Programmers' Guide, Second Edition (Paperback)
This is the book you want if you're learning Ruby. It's four books in one! There's a tutorial-style introduction and overview of the language, new to this edition. There's more comprehensive, best-practices kind of coverage. There's a very complete reference to the language. And finally, there's lots of information on packages you might also want, for features outside the scope of the core language.
Ruby is the most inspiring language I've learned, and I've learned quite a few. I can't imagine learning this language without this book. Nor programming in this language without it as a handy reference!
Help other customers find the most helpful reviews
Was this review helpful to you? Yes
No