Problem with static inheritance in CoffeeScript (and JavaScript)

Some time in 2013 as I was working through some JavaScript constructor inheritance tests, I found an example of static inheritance as an anti-pattern (meaning don't bother with it) in the transpiled code from a CoffeeScript tutorial.

The example is taken from Programming in CoffeeScript by Mark Bates, Addison-Wesley, pp. 147-150, where the author shows that CoffeeScript does not support static inheritance through the __super__ keyword.

However, the example contains more fundamental problems NOT specific to CoffeeScript, as I'll show with my own constructor.js examples.

Read More