New to Ruby? Learn about Code blocks, Symbols and Syntactic Sugar

A few months ago I wrote a post about Ruby Code blocks, Symbols and
Syntactic Sugar. They serve as a gentle introduction to 3 interesting
Ruby
features. If you are coming from a different language, or a new to
programming, I think you will find the post interesting. Feel free to
leave
a comment on my blog if you like this.

http://www.railsfever.com/blogs/code-blocks-symbols-and-ruby-syntactic-sugar

-Wale

This announcement surfaced back in the late seventies:

CAUTION: The Programmer General has advised that excessive use of
Syntactic Sugar has been shown to lead to Hardening of the Semi-Colon
.”

It has never been retracted, as far as I know.

It appears the opposite happened with Ruby, as we rarely use
Semi-Colons!
The point of the article is to point out Ruby features to reduce
confusion
for new Rubyist.

-Wale

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs