LinuxLinks.com
Newbies What Next ? News Forums Calendar

Search





News Sections
Home
General News (3973/0)
Reviews (628/0)
Press Releases (464/0)
Distributions (187/0)
Software (871/0)
Hardware (522/0)
Security (192/0)
Tutorials (345/0)
Off Topic (181/0)


User Functions
Username:

Password:

Don't have an account yet? Sign up as a New User


Events
There are no upcoming events




8 of the Best Free Ruby Books - Part 1

8 of the Best Free Ruby Books

Individuals wanting to learn to program in Ruby have a good range of books available at their disposal. There are many hundreds of instructive Ruby books that are in-print and available to download or buy at reasonable cost. However, for newcomers to the programming scene, the cost of these books can be a barrier.

Ruby is a general purpose, structured, flexible, fully object-oriented programming language. It features a fully dynamic type system, which means that the majority of its type checking is performed at run-time rather than at compilation. This stops programmers having to overly worry about integer and string types. Ruby has automatic memory management. The language shares many similiar traits with Python, Perl, Lisp, and Smalltalk.

There are many reasons why programmers want to learn Ruby. It is designed to make programming enjoyable and easier. Coding in Ruby is more like writing in English than a computer programming language. Further, you can write the same program in Ruby with fewer lines of code than say C, C++, or Java. The increasing popularity of Ruby stems, in part, because of the success of Ruby on Rails, an open source full-stack web application framework for Ruby.

Besides the books featured in this article, it is also worth reading the Ruby User's Guide http://www.rubyist.net/~slagell/ruby/. The guide offers a good overview of the Ruby language.

The focus of this article is to select some of the finest Ruby books which are available to download for free. Some of the books featured in this article are published under a freely distributable license.

To cater for all tastes, we have chosen a range of books, covering general introductions to Ruby, books for more experienced programmers, and books that stand out from the crowd in one way or another. All of the texts featured in this article are worth reading.

1. Ruby Best Practices

Ruby Best Practices
Website http://blog.rubybestpractices.com/
Author Gregory Brown
Format PDF, HTML
Pages 328

Ruby Best Practices is for programmers who want to use Ruby as experienced Rubyists do. Written by the developer of the Ruby project Prawn, this book explains how to design beautiful APIs and domain-specific languages with Ruby, as well as how to work with functional programming ideas and techniques that can simplify your code and make you more productive.

Ruby Best Practices is much more about how to go about solving problems in Ruby than it is about the exact solution you should use. The book is not targeted at the Ruby beginner, and will be of little use to someone new to programming. The book assumes a reasonable technical understanding of Ruby, and some experience in developing software with it.

The book is split into two parts, with eight chapters forming its core and three appendixes included as supplementary material.

This book provides a wealth of information on:

  • Driving Code Through Tests - covers a number testing philosophies and techniques. Use mocks and stubs
  • Designing Beautiful APIs with special focus on Ruby's secret powers: Flexible argument processing and code blocks
  • Mastering the Dynamic Toolkit showing developers how to build flexible interfaces, implementing per-object behaviour, extending and modifying pre-existing code, and building classes and modules programmatically
  • Text Processing and File Management focusing on regular expressions, working with files, the tempfile standard library, and text-processing strategies
  • Functional Programming Techniques highlighting modular code organisation, memoization, infinite lists, and higher-order procedures
  • Understand how and why things can go wrong explaining how to work with logger
  • Reduce Cultural Barriers by leveraging Ruby's multilingual capabilities
  • Skillful Project Maintenance

The book is open source, released under the Creative Commons NC-SA license.

2. Programming Ruby - The Pragmatic Programmer's Guide

Programming Ruby
Website www.ruby-doc.org/docs/ProgrammingRuby/
Author David Thomas, Andrew Hunt
Format HTML
Pages -

Programming Ruby is a tutorial and reference for the Ruby programming language. Use Ruby, and you will write better code, be more productive, and make programming a more enjoyable experience.

Topics covered include:

  • Classes, Objects and Variables
  • Containers, Blocks and Iterators
  • Standard Types
  • More about Methods
  • Expressions
  • Exceptions, Catch and Throw
  • Modules
  • Basic Input and Output
  • Threads and Processes
  • When Trouble Strikes
  • Ruby and its World, the Web, Tk, and Microsoft Windows
  • Extending Ruby
  • Reflection, ObjectSpace and Distributed Ruby
  • Standard Library
  • Object-Oriented Design Libraries
  • Network and Web Libraries
  • Embedded Documentation
  • Interactive Ruby Shell

The first edition of this book is released under the Open Publication License, v1.0 or later. An updated Second Edition of this book, covering Ruby 1.8 and including descriptions of all the new libraries is available, but is not released under a freely distributable license.

3. Mr. Neighborly's Humble Little Ruby Book

Mr. Neighborly's Humble Little Ruby Book
Website www.humblelittlerubybook.com/
Author Jeremy McAnally
Format PDF, HTML
Pages 147

Mr. Neighborly's Humble Little Ruby Book covers the Ruby language from the very basics of using puts to put phrases on the screen all the way to serving up your favorite web page from WEBrick or connecting to your favorite web service.

Written in a conversational narrative rather than like a dry reference book, Mr. Neighborly's Humble Little Ruby Book is an easy to read, easy to follow guide to all things Ruby.

Topics covered included methods, blocks and proc objects, conditionals, loops, exceptions, filesystem interacton, threads and processes, and networking.

4. Learn Ruby the Hard Way

Learn Ruby the Hard Way
Website ruby.learncodethehardway.org
Author Zed Shaw
Format HTML
Pages 173

Learn Ruby The Hard Way is a translation of the original "Learn Python The Hard Way" to teaching Ruby, with the translation done by Rob Sobers. "Learn Python The Hard Way" has taught hundreds of thousands worldwide how to code in Python, and this book uses the same method for Ruby.

The title says it is the hard way to learn to write code but it is actually not. It is the hard way only in that it is the way people used to teach things. In this book you will do something incredibly simple that all programmers actually do to learn a language.

This is a very beginner book for people who want to learn to code. If you can already code then look elsewhere. It is targeted for newbies to build up their skills before starting a more detailed book, such as Ruby Best Practices. 

Learn Ruby The Hard Way consists of:

  • 52 Exercises which consist of typing code samples. This helps budding Ruby programmers to learn the names of the symbols, become familiar with typing them, and reading the language
  • Exercises cover topics such as: Variables, printing, functions, boolean algebra, branches and functions, automated testing, and starting your own game

Next Section: 8 of the Best Free Ruby Books - Part 2

Bookmark and Share


Last Updated Sunday, August 31 2014 @ 03:39 AM EDT


We have written a range of guides highlighting excellent free books for popular programming languages. Check out the following guides: C, C++, C#, Java, JavaScript, CoffeeScript, HTML, Python, Ruby, Perl, Haskell, PHP, Lisp, R, Prolog, Scala, Scheme, Forth, SQL, Node.js (new), Fortran (new), Erlang (new), Pascal (new), and Ada (new).


Group Tests
All Group Tests

Top Free Software
6 Office Suites
7 Document Processors
6 Lean Desktops
6 Desktop Search
9 Project Management
9 Groupware Apps
14 File Managers
10 Databases
21 Backup Tools
21 DVD Tools
21 Window Managers
21 Productivity Tools
9 Terminal Emulators
21 Financial Tools
21 Text Editors
21 Video Emulators
21 Home Emulators
42 Graphics Apps
6 CAD Apps
42 Scientific Apps
10 Web Browsers
42 Email Apps
12 Instant Messaging
10 IRC Clients
7 Twitter Clients
12 News Aggregators
11 VoIP Apps
11 Remote Display Apps
42 Best Games
42 More Games
21 More Games
21 Notable Games (1)
21 Notable Games (2)
21 Notable Games (3)
8 ASCII Games
9 Educational Games
42 Audio Apps
42 Video Apps
6 Screencasting Apps
80 Security Apps
9 System Monitoring
6 Family History Apps
11 PDF Tools
6 Music Servers
6 Collection Managers
7 Calculator Apps
8 Geometry Apps
Free Console Apps
14 Multimedia
Programming
8 Compilers
9 IDEs
9 Debuggers
7 Revision Control Apps
6 Doc Generators
'Free' Proprietary
21 Closed-Source Apps
Top Commercial Apps
42 Games
Free Web Software
21 Web CMS
14 Wiki Engines
8 Blog Apps
6 eCommerce Apps
5 Human Resource Apps
10 ERP
10 CRM
6 Data Warehouse Apps
8 Business Intelligence
6 Point-of-Sale

All Group Tests

Other Articles
Migrating from Windows
Back up your data
Distribution Guide
Distro Portal Pages
20 Free Linux Books
Running Linux Under Windows


Older Stories
Saturday 06/07
  • Open Source LDAP Solutions (0)

  • Monday 06/02
  • Delightful ASCII Art Tools (0)

  • Saturday 05/31
  • Best Tools for Network Inventory Management (0)

  • Sunday 05/25
  • Grab 24 Beautifully Scribed Free Programming Books (0)
  • 6 Invaluable Free Ada Books (0)

  • Thursday 05/15
  • 4 Best Free Pascal Books (0)

  • Saturday 05/10
  • 5 Best Free Erlang Books (0)

  • Sunday 05/04
  • The 9 Best Free Fortran Books (0)

  • Thursday 05/01
  • 5 Best Free Node.js Introductory Books (0)

  • Sunday 04/27
  • Tools to Empower Librarians (0)


  • Vote

    What do you find MOST attractive about Open Source software?

    Amount of customization
    Security
    Freedom provided
    Speed of development
    Quality
    Multiple versions
    Cost
    Potential to contribute
    Ability to modify code
    Results
    4812 votes | 2 comments

    Built with GeekLog and phpBB
    Comments to the webmaster are welcome
    Copyright 2009 LinuxLinks.com - All rights reserved