Hacker News new | ask | show | jobs
by yetfeo 4464 days ago
I wouldn't describe JavaScript's OOP as bolted on. It's just a different kind of OOP - prototype based rather than class based. You could argue that Lua is more "bolted on OOP" since there are quite a few different libraries that build OOP for it.
1 comments

That would be a silly argument. Lua's metatables are strictly more expressive than js's prototypes, and few libraries assume the presence of any sort of OO.