3 ms·
> my brilliant __metaclass__ and nested decorator approach that cuts 10k of imperative bullshit down to 20 lines - or worse they will understand it enough to ma
by oalae5niMiel7qu 5y ago
> my brilliant __metaclass__ and nested decorator approach that cuts 10k of imperative bullshit down to 20 lines - or worse they will understand it enough to make a change that causes an unacceptable performance degradation and not enough to realize that they did it.
That's just Python and its endless edge cases, caused by everything being special-cased into the interpreter.
If you were using Lisp, the macro equivalent of your ________dunder________ method would likely have no edge cases, so the next guy who makes a change with only a partial understanding wouldn't end up introducing that performance degradation.
- morelisp 5y agoWith Lisp, the performance comes pre-degraded!
- oalae5niMiel7qu 5y agoMaybe compared to C++. Lisp outperforms Python.