by DarkNova6 · 2y ago · 0 comments
Trivial method calls such as „toString“ can already cause issues and it’s worse once you want to guarantee certain value types properties.
class Sub extends Super {
int field = footgunA();
Sub() {
super(footgunB());
}
}
It's a zero merit headache factory and good intentions alone cannot change that.This is perfectly fine as far as I'm concerned.