Ruby's new site

September 14, 2006 by pedro mota

It’s about to be presented the Ruby language new site. It is of course made with Ruby and powered by Radiant CMS an open source content management system designed for small teams. Ruby is a interpreted scripting language for quick and easy object-oriented programming. Ruby is a complete, full, pure object oriented language: OOL. This means all data in Ruby is an object, in the sense of Smalltalk: no exceptions. Example: In Ruby, the number 1 is an instance of class Fixnum. Ruby features blocks in its syntax (code surrounded by ‘{’ … ‘}’ or ‘do’ … ‘end’). These blocks can be passed to methods, or converted into closures. Ruby features a true mark-and-sweep garbage collector. It works with all Ruby objects. You don’t have to care about maintaining reference counts in extension libraries. Ruby needs no variable declarations. It uses simple naming conventions to denote the scope of variables. Examples: simple ‘var’ = local variable, ‘@var’ = instance variable, ‘$var’ = global variable. So it is also not necessary to use a tiresome ‘self.’ prepended to every instance member. The creator of Ruby Yukihiro Matsumoto, a.k.a Matz does a good job.

© 2018 | Follow on Twitter | pedro mg & Hugo