by wcummings · 10y ago · 0 comments
Why is it safe to say that? Aren't decorators just syntax for higher-order functions?
Yes, decorators can do whatever they want, but, in practical usage I'd say a majority of decorator usages do not mutate the class/function significantly from its original typed-out intent (like, they don't often add 8+ methods to a class for example, but of course they can)
not literally "safe" to say.