the blog

The Sapphire Language: getting and setting instance variables


Please only leave comments relating directly to this article. Do not leave technical questions or general questions.
If you have any technical questions, we request that you join the forum in order to post them: http://www.sapphiresteel.com/forum/

    The Sapphire Language: getting and setting instance variables
    31 March 2008

    The get and set keywords and their associated functionality are straight out of C#.

    The minimalist Ruby approach is far cleaner and flexible IMHO. I would love to see the vastly cleaned up Ruby I envisioned when I first read of Sapphire. Adding keywords and a new way of defining methods is not cleaning up the language, it’s adding more cruft.

    I also think the automatic exposing of class internals is a bad idea but, that’s less significant than littering the language with things that are already well served with the existing implementation.


pre-moderation

This forum is moderated beforehand: your contribution will only appear after being validated by a site administrator.

Any message or comment?
  • (To create paragraphs, you simply leave blank lines.)

Who are you? (optional)

© SapphireSteel Software 2010