Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
A Multiple Inheritance Pattern for JavaScript (pageforest.com)
3 points by mckoss on April 27, 2011 | hide | past | favorite | 1 comment


I've been thinking about a clean way to handle multiple inheritance (for mix-in style classes) in JavaScript for a while. I think this approach is the best I've come up with so far.

There's more documentation (and source) on this github repo:

https://github.com/mckoss/namespace/wiki/funcs.js




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: