CoffeeScriptRedux
CoffeeScriptRedux copied to clipboard
question: will you be re-introducing <class>.name?
reference: https://github.com/jashkenas/coffee-script/issues/2052
No, this is a non-writable property
ok, how about any way to retrieve the class name of an instance?
Add a propertyName
Adding __name__ to the constructor, just like __super__, would be great for building class hierarchies. Currently, these issue all say to just create our own property in the instance or prototype. Yes, that works, but it becomes tedious and isn't DRY, and so more prone to errors.
+1 @drarmstr