This post originated from an RSS feed registered with Ruby Buzz
by Huw Collingbourne.
Original Post: The Sapphire Language: getting and setting instance variables
Feed Title: SapphireSteel Software
Feed URL: http://www.sapphiresteel.com/spip.php?page=backend&id_rubrique=1
Feed Description: Discussion of Ruby, Flex and the Ruby In Steel and Amethyst/Flex IDEs for Visual Studio.
Strangely, I find that one of the nice features about Ruby is the lack of keywords. In C# I tend to end up writing things like this: public override static bool xxx (... And then there's 'annotations' that tell the CLR what to do on top of that. On the other hand, in Ruby, there are fewer keywords, but some of the traditional functions of keywords have been replaced by methods, such as private. Other ‘pseudo-keywords' are attr_reader and attr_writer. In fact, these are methods (...)