Showing posts with label pickaxe. Show all posts
Showing posts with label pickaxe. Show all posts

Programming Ruby: The Pragmatic Programmers' Guide, Second Edition Review

Programming Ruby: The Pragmatic Programmers' Guide, Second Edition
Average Reviews:

(More customer reviews)
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.

Click Here to see more reviews about: Programming Ruby: The Pragmatic Programmers' Guide, Second Edition


Ruby is an increasingly popular, fully object-oriented dynamic programming language, hailed by many practitioners as the finest and most useful language available today.When Ruby first burst onto the scene in the Western world, the Pragmatic Programmers were there with the definitive reference manual, Programming Ruby: The Pragmatic Programmer's Guide. Now in its second edition, author Dave Thomas has expanded the famous Pickaxe book with over 200 pages of new content, covering all the improved language features of Ruby 1.8 and standard library modules. The Pickaxe contains four major sections:

An acclaimed tutorial on using Ruby.
The definitive reference to the language.
Complete documentation on all built-in classes, modules, and methods
Complete descriptions of all 98 standard libraries.
If you enjoyed the First Edition, you'll appreciate the expanded content, including enhanced coverage of installation, packaging, documenting Ruby source code, threading and synchronization, and enhancing Ruby's capabilities using C-language extensions. Programming for the World Wide Web is easy in Ruby, with new chapters on XML/RPC, SOAP, distributed Ruby, templating systems, and other web services.There's even a new chapter on unit testing. This is the definitive reference manual for Ruby, including a description of all the standard library modules, a complete reference to all built-in classes and modules (including more than 250 significant changes since the First Edition). Coverage of other features has grown tremendously, including details on how to harness the sophisticated capabilities of irb, so you can dynamically examine and experiment with your running code. "Ruby is a wonderfully powerful and useful language, and whenever I'm working with it this book is at my side" --Martin Fowler, Chief Scientist, ThoughtWorks

Buy Now

Click here for more information about Programming Ruby: The Pragmatic Programmers' Guide, Second Edition

Read More...

The Ruby Programming Language Review

The Ruby Programming Language
Average Reviews:

(More customer reviews)
Originally planned as a second edition to Ruby classic, Ruby In A Nutshell, The Ruby Programming Language is a new book by David Flanagan and Yukihiro Matsumoto (a.k.a. Matz - creator of Ruby) and published by O'Reilly. The book covers both Ruby 1.8 and 1.9 and with its esteemed authors and technical approach, is sure to become a new "Bible" for Ruby developers.
As of the start of 2008 this book is REALLY fresh and up to date. Its style is very direct and matter-of-fact; well suited for existing Ruby developers and proficient developers coming from other languages. The examples are clear and logical and the explanations concise; this is a well edited and authoritative book.
The structure of the book is a delight with ten well-defined chapters (with titles such as Reflection and Metaprogramming, Statements and Control Structures, and Expressions and Operators) that each contain a tree of sections. Consider Chapter 4, Expressions and Operators. A sample dive down to section 4.5.5.2 takes us through 4.5, Assignments; 4.5.5, Parallel Assignment; and finally to 4.5.5.2, One lvalue, multiple rvalues. This is a breath of fresh air in a Ruby reference work.
The only downside, in terms of the thousands who might be browsing Amazon looking for a single Ruby book to start off with, is that this book is so well focused on documenting the core elements of the Ruby language, it doesn't work either as a tutorial / beginner's introduction to Ruby, or as an exhaustive reference work (as, on both fronts, the Pickaxe attempts to be.) This lack of dilution may be an ultimate strength, however, since anyone above the station of "beginner" will be able to learn Ruby thoroughly from this book, use it as a general reference, and then be able to use the exhaustive documentation that comes with Ruby itself to cover the standard library and built-in classes.
In conclusion, whether you're an existing developer or a newcomer to Ruby, you need just three things to be up and running with Ruby in the book / documentation department. Buy this, the Ruby Way (by Hal Fulton), and learn how to use the documentation that comes with Ruby.
This book will act as the "Bible" for Ruby, the Ruby Way will make you an expert, and learning how to use the documentation that comes with Ruby will mean you're not using information that's out of date within a couple of years. The perfect combo! It'll last you for years.

Click Here to see more reviews about: The Ruby Programming Language


The Ruby Programming Language is the authoritative guide to Ruby and provides comprehensive coverage of versions 1.8 and 1.9 of the language. It was written (and illustrated!) by an all-star team:

David Flanagan, bestselling author of programming language "bibles" (including JavaScript: The Definitive Guide and Java in a Nutshell) and committer to the Ruby Subversion repository.
Yukihiro "Matz" Matsumoto, creator, designer and lead developer of Ruby and author of Ruby in a Nutshell, which has been expanded and revised to become this book.
why the lucky stiff, artist and Ruby programmer extraordinaire.
This book begins with a quick-start tutorial to the language, and then explains the language in detail from the bottom up: from lexical and syntactic structure to datatypes to expressions and statements and on through methods, blocks, lambdas, closures, classes and modules. The book also includes a long and thorough introduction to the rich API of the Ruby platform, demonstrating -- with heavily-commented example code -- Ruby's facilities for text processing, numeric manipulation, collections, input/output, networking, and concurrency. An entire chapter is devoted to Ruby's metaprogramming capabilities.The Ruby Programming Language documents the Ruby language definitively but without the formality of a language specification. It is written for experienced programmers who are new to Ruby, and for current Ruby programmers who want to challenge their understanding and increase their mastery of the language.

Buy Now

Click here for more information about The Ruby Programming Language

Read More...