October 19 update: After being received well by readers on Hacker News and Reddit a week ago, this story was Slashdotted with an inaccurate summary on October 16 — the same day my daughter was born! I feel, however, I need to give some extra information throughout this post to clarify the points that were misunderstood by a minority of readers. These added notes are in bold italics. Apress gives you a third at a time at these points: 1 when three chapters are completed and approved, 2 when two thirds of the book is completed, and 3 when the manuscript is complete. Note: Some non-writers make the mistake that an advance is a type of grant or bursary and that once the book is out, you earn more money per copy sold. Since there are no printing or supply chain costs, though, you get double the royalties on e-books.
|Published (Last):||16 June 2006|
|PDF File Size:||12.32 Mb|
|ePub File Size:||6.26 Mb|
|Price:||Free* [*Free Regsitration Required]|
Jun 07, Jascha rated it did not like it Believe it or not, Ruby is 21 years old and one of the hottest programming languages out there. Not only because of its features, but also because it has a quite vibrant and active community supporting it. This resulted in many projects being developed in Ruby: Redmine, Puppet Learning Ruby, even if just the basics you dont want to write Puppet Facts in Python, do you? This popularity is Believe it or not, Ruby is 21 years old and one of the hottest programming languages out there.
This popularity is reflected by a lot of documentation available. We curious people also have quite a rich selection of titles to pick from in case we prefer a book. Beginning Ruby: From Novice to Professional is an introductiory text that is meant to get anyone started with the language and its core features.
Released back in , this second version covers Ruby 1. It is meant to teach beginners the basics of the language, so that most of the concepts, which include the core data types and object oriented programming, are still valid and valuable.
It is quite a big book, which could be roughly split into three parts: the first focuses on the Ruby philosophy and history. The reader is introduced to the basic concepts of OOP and their role in Ruby. We are also shown how to install Ruby and how get started with the interactive terminal. No word is said about RVM, though, which is now the de facto Ruby version management system.
The second part of the book dives, instead, into the core of the language: everything is an object, so do expect classes, inheritance, encapsulation and all that comes with it. The basic data types are also presented and used through Hello World! Here the author gives the readers a quick taste of what Ruby can do, without really going deep into any of those subjects.
While the topics chosen by the author are pretty much appropriated for an introductory text, the book is, overall, hard to read and, mostly follow. As an example, when the author discusses encapsulation, it first introduces the public and private access modifiers then, later on, in a different paragraph, comes out with ah by the way, there is a third way to hide data to the outside.
Another thing that definitely caught my attention was the chapter discussing projects and how Ruby searches through different paths for modules. Throughout the whole book, the examples are way too short and easy. While it is true that this is a book for beginners, they never go beyond the Hello World!
The reader never sees the true capabilities of Ruby in action. Overall I am not happy with this book. The information is not complete and the reader is abruptly moved from concept to concept.
As usual, you can find more reviews on my personal blog: books. Feel free to pass by and share your thoughts! After looking into several books on Ruby, I decided to give Beginning Ruby a try, largely based on the positive Amazon recommendations. I am glad I did, but this may not be the most pedagogical book that I could have gone through. The book is very well written, with many examples and lots of code. You can either type the code examples directly, or, preferably, download them form the accompanying website.
The downloaded code, however, is not very clearly labeled and you end up opening several files before you stumble across the right one. The book also provides many resources and links for further reference. I am still the old school like that: I like to be given a specific problem to work on in order to master any material.
Yes, this book seems to be largely geared towards the experienced programmers who want to learn the Ruby way of doing things, and the simpler exercises would probably be waste of time for them.
However, I think even they would appreciate being able to work on a concrete problem with the solutions or at least an outline of a solution provided at the end of the book or online. On the other hand if you are truly new to programming, this book will definitely be the best resource for your needs. Overall, this is a good reference book that would need some major revisions in order to become an acceptable textbook on Ruby.
If you want to quickly learn Ruby syntax you may find it useful, but if you are new to programming you should look somewhere else.
The final prices may differ from the prices shown due to specifics of VAT rules About this book Learn the principles behind object-oriented programming and within a few chapters create a fully functional Ruby application. Based on the bestselling first and second editions, Beginning Ruby, Third Edition is a leading guide to learn Ruby from the ground up. The new edition of this book provides the same excellent introduction to Ruby as the previous editions plus updates for the newest version of Ruby 2. This book can also be used as a textbook or companion to a textbook on beginning Ruby programming.
Beginning Ruby pdf – Peter Cooper
Title: Beginning Ruby From Novice to Professional Author: Peter Cooper Pages: Format: pdf Beginning Ruby covers a lot of ground in Ruby programming language, and offers a tutorial-based explanation of the various aspects of the language. The overall books consists of short tutorials, examples and larger projects, so it is just a great book of those who are just new to dynamic languages. The 2nd Edition of Beginning C by Peter Cooper not only covers the fundamental topics of Ruby but also dives into testing, building Web apps, database apps, the pros and cons of Ruby frameworks, networking daemons, and developing GUI applications. The whole book is divided into 3 parts which total 17 chapters.