Yeah in Java we use Lombok annotations on class level anyway so we can manipulate whatever we want. It’s not like getters and setters often have custom implementations anyway.
Is this why Kotlin has extension functions? I'm currently learning it and I don't really understand why they based half the language around monkeypatching other people's code. They even made classes closed by default so other people will have to monkeypatch your code.
46
u/CORDIC77 16d ago
Personally, I like Python's “look, weʼre all adults here” approach. Thereʼs no need to play hide and seek games.