CSC/ECE 517 Summer 2008/wiki1 8 smr: Difference between revisions
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
== References == | == References == | ||
[http://www. | *[http://www.ruby-doc.org/docs/ProgrammingRuby/html/index.html Programming Ruby: The Pragmatic Programmers' Guide] | ||
[http://t-a-w.blogspot.com/2006/10/prototype-based-ruby.htmlv | *[http://t-a-w.blogspot.com/2006/10/prototype-based-ruby.htmlv Taw's blog: Prototype-based Ruby] | ||
[http://en.wikipedia.org/wiki/Prototype-based_programming | *[http://en.wikipedia.org/wiki/Prototype-based_programming Wikipedia: Prototype-based programming] | ||
[http://www.softpanorama.org/Scripting/Javascript/prototype_based_object_scripting.shtml | *[http://www.softpanorama.org/Scripting/Javascript/prototype_based_object_scripting.shtml Softpanoroma: Prototype Based Object-Oriented Programming] | ||
[http://www.ruby-doc.org/ | *[http://www.ruby-doc.org/ Ruby-doc.org] |
Revision as of 01:18, 3 June 2008
In Lecture 7, we consider prototype-based programming in Ruby. The example that is given is somehwhat artificial. Can you identify real tasks that are easier with prototype-based programming than with class-based programming? Give the code, at least in outline.
...