3 ms·
I know what it does, but isn't it (and your examples) an instance of the Call Super[1] antipattern? 1. https://www.martinfowler.com/bliki/CallSuper.html https:
by rhizome 9y ago
I know what it does, but isn't it (and your examples) an instance of the Call Super[1] antipattern?
1. https://www.martinfowler.com/bliki/CallSuper.html https://www.martinfowler.com/bliki/CallSuper.html
- dperfect 9y agoFrom my understanding, the anti-pattern is related to creating an API that requires a call to super when overriding a method. super.tap may be used when interacting with an API that employs the "call super" anti-pattern, but calling super is not itself an instance of the anti-pattern; it can be used in perfectly legitimate cases as well.