News for hackers. Stuff that matters.
Re:Prototypes are Objects by seanmcdirmid on Saturday June 13, 2015 @08:56PM (#9713392)
This is an old debate that has been resolved (at least back then) since what is called "the Treaty of Orlando" at OOPSLA 1987; here is a public paper written afterward:

http://web.media.mit.edu/~lieber/Publications/Treaty-of-Orla...

Abstract:

> For the past few years, researchers have been debating the relative merits of object-oriented programming languages (OOPLs) with classes and inheritance as opposed to those with prototypes and delegation. It has become clear that the OOPL design space is not a dichotomy. Instead, we have identified two fundamental mechanisms, templates and empathy, and several different independent degrees of freedom for each. Templates create new objects in their own image, providing guarantees about the similarity of group members. Empathy allows an object to act as if it were some other object, providing sharing of state and behavior. Smalltalk, Actors, Lieberman''s delegation system, Self, and Hybrid each take differing stands on the forms of templates and empathy. Some varieties of template and empathy mechanisms are appropriate for building well-understood programs that must be extremely reliable; others are better suited for rapidly prototyping solutions to difficult problems. The differences between languages designed for each of these application domains can be recast as the differences between support for anticipated vs. unanticipated sharing. One can even ascribe the ascent of object-oriented programming to its strong support for extension instead of modification. However, many kinds of extension still remain difficult. The decomposition of an object-oriented language into template and empathy mechanisms and the degree of support for extension provided by the forms of these mechanisms provide a solid framework for studying language design.

Re:Prototypes are Objects by jivardo_nucci on Sunday June 14, 2015 @03:25AM (#9714063)
"Empathy? Empathy? We don't need no stinkin' empathy!"

Uh, perhaps you meant "delegation"? No one uses the term "empathy" in reference to any OOP languages AFAICT except the authors of that non-text searchable paper written in 1987 that you reference. Even if _they_ used the term "empathy" it would have been better to use "delegation" in describing the paper, because to not do so reduces the empathy of your audience.

[I am thorry, I could not resithd, but muth go now becauth I have an appointment with the delegation of the ambatthador at the the U.S. empathy].