Yup, getters/setters in POJOs drive me up the wall. So much simpler in languages that have proper const/mutability qualifiers.
> proper const/mutability qualifiers
I really like Go, but on the const/mutability front, it does no better than C, unfortunately.
Re:Porting 4.5K lines of C to Go
by fleshweasel on Friday August 04, 2017 @08:10PM
(#14933418)
so..not Go :P
For interfaces, you can only invoke methods, so getters/setters are required.