3 ms·
it's really annoying when you want to subclass something but do a transformation, logic or validation on the arguments that are to be passed through to the supe
by zmmmmm 4y ago
it's really annoying when you want to subclass something but do a transformation, logic or validation on the arguments that are to be passed through to the super class, because you can't put any code prior to the this() or super() call to do that. In practice it means people stuff all kinds of awkward expressions inside the this() or super() which get very ugly, or are forced to move these out into ancilliary methods which has other drawbacks.