Ruby From Other Languages


When you first look at some Ruby code, it will likely remind you of other programming languages you’ve used. This is on purpose. Much of the syntax is familiar to users of Perl, Python, and Java (among other languages), so if you’ve used those, learning Ruby will be a piece of cake.

This document contains two major sections. The first attempts to be a rapid-fire summary of what you can expect to see when going from language X to Ruby. The second section tackles the major language features and how they might compare to what you’re already familiar with.

What to Expect: Language X to Ruby

Ruby From Other Languages

是ruby官方网站写的,比较了其他主流编程语言和ruby的异同之处,给出了ruby比较有特点的功能介绍。

http://www.ruby-lang.org/en/documentation/ruby-from-other-languages/