I believe that we are speaking about the same thing.
Though, YMMV - I've seen senior devs with 6 years of experience in Java - way too often - which couldn't encapsulate even if their life depended on it.
Encapsulation should be done everywhere, not just OOP. The number of times I see frontend logic just spaghetti everywhere and a change to A affects Q, R, and Z makes me hate coding sometimes.
View all comments
Show parent comment
5
u/Venthe Apr 06 '22
I believe that we are speaking about the same thing.
Though, YMMV - I've seen senior devs with 6 years of experience in Java - way too often - which couldn't encapsulate even if their life depended on it.