• @fredthedeadhead
    link
    English
    3
    edit-2
    1 year ago

    Kotlin 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.