Andrea, My point wasn’t to implement something that allows the decorator function to figure out the difference between class and function. The point is to be able to show the difference in your code, so that it can tell the developer what the code is doing.
Also, the [‘ambient decorator’ ](https://github.com/jonathandturner/brainstorming/blob/master/README.md#c6-ambient-decorators <https://github.com/jonathandturner/brainstorming/blob/master/README.md#c6-ambient-decorators>) Jonathan mentioned is what I think why we should have a new syntax for(decorator that absolutely does not alter the code behavior, only used for optimization, checking or debugging should have different syntax from decorator that alter the code behavior).
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

