46
object.setobject(object.getobject().object).to_object()
(lemmy.world)
Post funny things about programming here! (Or just rant about your favourite programming language.)
At least for Kotlin it's literally just syntactic sugar for getter and setter methods. I really like them, don't get me wrong, but it's just the bottom approach masquerading as the top approach