3 ms·
While the slideshow seems aimed at creating something new, I think (hope?) that's more of a rhetorical device, because prototype-based OO goes back to Self, and
by stormbrew 12y ago
While the slideshow seems aimed at creating something new, I think (hope?) that's more of a rhetorical device, because prototype-based OO goes back to Self, and even the language that introduced classes (Smalltalk) resembles this more strongly than the more common class-based OO languages (C++ and Java).
Lua is not really unique in following the same concept. Javascript and Python are also both based on the hash-with-blessed-class-member prototype-driven approach, even though they also both build class systems on top of it (JS more recently than Python).
- seanmcdirmid 12y agoThese are course notes for a grad-level PL class. I've seen something like this before...maybe 10 years ago. I don't think the encoding is particularly novel, just part of the material being taught.