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

From Expertiza_Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
  '''''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.''
  '''''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 19:00, 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.