minus-squarefredthedeadhead@lemmy.worldtoProgrammer Humor@programming.dev•finally there is a perfect monitor for Java programmerslinkfedilinkEnglisharrow-up3·edit-21 year agoKotlin would represent the getter/setters as synthetic properties (and do so automatically, since Kotlin interops with Java). object1.A = object2.X.Y.Z.I.J.K.E.getF(i).G.toString() Of course it’s still not great (there’s still too much nesting, there’s something fundamentally wrong with how the data is structured) but at least the code is less noisy. linkfedilink
Kotlin would represent the getter/setters as synthetic properties (and do so automatically, since Kotlin interops with Java).
Of course it’s still not great (there’s still too much nesting, there’s something fundamentally wrong with how the data is structured) but at least the code is less noisy.