The Ruby Programming Language: Everything You Need to Know

· "O'Reilly Media, Inc."
4.5
30 reviews
Ebook
448
Pages
Eligible
Ratings and reviews aren’t verified  Learn More

About this ebook

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.

Ratings and reviews

4.5
30 reviews
A Google user
languages. It is precise and concise; where possible, the examples demonstrate not only syntax but also intended use. No silly examples of, say, arrays of stones, playing on a bad and boring stone age television programme here! And the authors are helped in that they are describing a truly fascinating language. It is object oriented through and through, has all the usual features of programming languages such as conditional statements and "for" and "while loops, but it has more, much more. The concept of an iterator is fundamental to the language; indeed, a ruby programmer soon finds himself thinking in terms of iterators, internal and external, rather than "for" loops. This is the sort of language that appeals to programmers because it's truly fun to program, and this is the best book on a programming language in existence. It's riveting! But the one big problem is, very unfortunately, that ruby is buggy. Worse, there doesn't appear to be anyone to send bug reports to; the unfortunate user is left to stew in his own juice. I've even experienced ruby executing a program differently depending on whether or not a comment line is deleted or not. Different ruby versions yield different results on the same program, and, when ruby signals a programming error and you enter the debugger, ruby's behaviour suddenly differs from that without the debugger. And when you are in the debugger, and the error is at line 12345, and you are at line 10, which is a loop consisting 1,000 iterations, you try to skip the loop, but then you never regain control before the error. So you sit there and single step through the loop, solely so that you can still follow the execution once the loop has terminated. Unless these bugs are removed, or even reported so that somebody can look into them, the ruby language and with it this book cannot be recommended to anybody except the masochistic.
Did you find this helpful?
Tyagraj Bhatt
August 6, 2019
hi nice it
Did you find this helpful?

Rate this ebook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Center instructions to transfer the files to supported eReaders.