3 ms·
> we should explore the boundaries of the paradigm by making a popular language that's based on prototypes, or that privileges composition over inheritance, or
by jt2190 6y ago
> we should explore the boundaries of the paradigm by making a popular language that's based on prototypes, or that privileges composition over inheritance, or pulls apart the various pieces of OOP into standalone concepts that can be mixed and matched.
JavaScript? ;-)
- meheleventyone 6y agoYou joke but I think TypeScript's structural typing is really cool and has a lot of neat advantages of nominal typing.
- randallsquared 6y agoI can neither confirm nor deny that I had any particular languages in mind... but, yeah, having slightly or wildly different takes on various patterns can help us explore the practical consequences. I would suggest that the history of JS is good evidence that prototypes are harder to use and reason about than classes.