Re:Mojolicious – Perl real-time web framework
by ThePhysicist on Monday July 28, 2014 @02:59PM
(#8098680)
Great answer, thanks for explaining this! I'm curious about how much this approach differs from the one pursued by Javascript, which seems pretty similar to me.
[ Parent
| on HN ]
Re:Mojolicious – Perl real-time web framework
by perigrin on Monday July 28, 2014 @05:33PM
(#8099462)
Javascript lacks the "packages" part of the mix, it uses Prototypal inheritance rather than Class based inheritance.
If you squint you can view prototypal inheritance as class-based-inheritance-where-everything-is-a-singleton ... but you really need some alcohol to deal with the headache you get from squinting that much.