HackToHell. Powered by Blogger.

Learning Ruby from scratch a compilation of popular guides

What is Ruby

Ruby is a dynamic, reflective, general purpose object-oriented programming language that combines syntax inspired by Perl with Smalltalk-like features. Ruby originated in Japan during the mid-1990s and was first developed and designed by Yukihiro "Matz" Matsumoto. It was influenced primarily by Perl, Smalltalk, Eiffel, and Lisp.

Ruby supports multiple programming paradigms, including functional, object oriented, imperative and reflective. It also has a dynamic type system and automatic memory management; it is therefore similar in varying respects to Python, Perl, Lisp, Dylan, Pike, and CLU.

Features of Ruby

Thoroughly object-oriented with inheritance, mixins and metaclasses

Dynamic typing and Duck typing

Everything is an expression (even statements) and everything is executed imperatively (even declarations)

Succinct and flexible syntax that minimizes syntactic noise and serves as a foundation for domain-specific languages

Dynamic reflection and alteration of objects to facilitate metaprogramming

Lexical closures, Iterators and generators, with a unique block syntax

Literal notation for arrays, hashes, regular expressions and symbols

Embedding code in strings (interpolation)

Default arguments

Four levels of variable scope (global, class, instance, and local) denoted by sigils and capitalization

Automatic garbage collection

First-class continuations

Strict boolean coercion rules (everything is true except false and nil)

Exception handling

Operator overloading

Built-in support for rational numbers, complex numbers and arbitrary-precision arithmetic

Custom dispatch behavior (through method_missing and const_missing)

Native threads and cooperative fibers

Initial support for Unicode and multiple character encodings (still buggy as of version 1.9)

Native plug-in API in C

Interactive Ruby Shell (a REPL)

Centralized package management through RubyGems

Implemented on all major platforms

Large standard library

Where to start


#2 Try ruby from your Browser

#3Ruby in Twenty Minutes Quick Start Guide

#4Migrating from other Languages to Ruby

#5Hackety Hack The little coder’s starter kit. A fun and easy way to learn about programming (through Ruby) using the Shoes GUI Toolkit.

#6Fun GUI programming through the Gosu gem -RubyForKids

#7Ruby Official Documentation

#8 A torrent with 40+ superb Ruby e-books!!

Share on Google Plus

About hacktohell

Love technology.
    Blogger Comment
    Facebook Comment


Post a Comment