Re:If Java Is Dying, It Sure Looks Awfully Healthy
by prawks on Thursday October 10, 2013 @09:11AM
(#6527364)
Exactly. It's (at least from what I've seen/read) common convention to make sure that getters/setters should be quick and have minimal side effects.
Your application shouldn't hang from a database call when you pull a property from an object. And obviously, methods doing such things should be documented appropriately.
Also, as the guy below me pointed out, by convention you know that Foo is a property.