Get flash to fully experience Pearltrees
Table of Contents Language General Tips These are tips I’ve given over and over and over and over… Use 2 space indent, no tabs.
This essay was to be published as a companion piece to The Shell Hater's Handbook , an introductory talk on UNIX shell programming for Ruby hackers given at GoGaRuCo 2010 . Alas, the post-conference wrap up magazine will not be published this year and so I'm making the essay available here instead. Ruby, like most successful languages, was assembled from pieces of things that came before it: Smalltalk's consistent object system, Perl's practical syntax, UNIX's sensibilities. Not that it didn't bring entirely new innovations ( block syntax! Smalltalk had block syntax first!)
(C) John Mair (banisterfiend) 2011 Get to the code ** New documentation will be available shortly, please see the CHANGELOG and Pry's own livehelp system for information in the meantime. Also note that JRuby is not yet supported in this release, but will be soon. Thanks **
Table of Contents Language General Tips
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.