DEV Community

loading...

Discussion on: Avoid getters and setters whenever possible

Collapse
kolyaio profile image
Nikolai Ilushko

I think the title is a bit problematic because you trying not to use getters and setters at every single moment just because we were taught to use them. At the end the message is to create real isolation between different parts of the code you do instead of doing setters and getters as check mark for OOP "requirements".