Hacker News new | ask | show | jobs
by jt2190 1914 days 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? ;-)

2 comments

I 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.
You joke but I think TypeScript's structural typing is really cool and has a lot of neat advantages of nominal typing.