CSC/ECE 517 Fall 2011/ch4 4a aj: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
(Created page with "New page")
 
mNo edit summary
Line 1: Line 1:
New page
'''''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.''

Revision as of 18:58, 18 October 2011

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.