CSC/ECE 517 Summer 2008/wiki1 8 smr: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
Line 7: Line 7:
== References ==
== References ==


[http://www.amazon.com/Programming-Ruby-Pragmatic-Programmers-Second/dp/0974514055 Programming Ruby: The Pragmatic Programmers' Guide]
*[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 | Taw's blog: Prototype-based Ruby]
*[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 | Wikipedia: 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 | Softpanoroma: Prototype Based Object-Oriented Programming]
*[http://www.softpanorama.org/Scripting/Javascript/prototype_based_object_scripting.shtml Softpanoroma: Prototype Based Object-Oriented Programming]
[http://www.ruby-doc.org/ | 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.

...


References