CSC/ECE 517 Fall 2011/ch4 4a aj

From Expertiza_Wiki
Revision as of 18:58, 18 October 2011 by Jjjobama (talk | contribs)
Jump to navigation Jump to search
Extending objects.  Consider one or more practical examples of Ruby's extend method--that is, examples that serve a real need and are not contrived.  What facilities do other languages have for extending objects?  Are they more or less powerful than Ruby's?  Also consider prototype-based languages such as Self, which don't even provide classes.