Re:Duktape: an embeddable JavaScript engine
by yetfeo on Sunday March 23, 2014 @10:38PM
(#7456396)
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.
[ Parent
| on HN ]
Re:Duktape: an embeddable JavaScript engine
by anonymoushn on Monday March 24, 2014 @05:24AM
(#7457329)
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.