4 ms·
This was born from needs in the bog where standard business software lives. Sure, you can have naked attributes, but you'll be sorry once they aren't enough an
by cess11 2y ago
This was born from needs in the bog where standard business software lives.
Sure, you can have naked attributes, but you'll be sorry once they aren't enough and you now have two parallel ideologies seeping through your software, increasing the risk of bugs. Concurrency and collection attributes are the common reasons you'll want getters, possibly also setters.