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

82 views
Skip to first unread message

Wale Olaleye

unread,
Feb 19, 2014, 10:09:27 AM2/19/14
to rubyonra...@googlegroups.com
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.

Rick

unread,
Feb 19, 2014, 11:12:42 AM2/19/14
to rubyonra...@googlegroups.com
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.

Wale Olaleye

unread,
Feb 19, 2014, 8:30:33 PM2/19/14
to rubyonra...@googlegroups.com
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 
Reply all
Reply to author
Forward
0 new messages