|
|
|
|
|
by lacampbell
3535 days ago
|
|
I really don't understand why people love properties so much. Getters and setters are elements of bad style to me - like global variables or gotos. A language like Java (or indeed C#) - specifically designed for huge teams and enterprise programs - shouldn't provide syntax sugar for writing getters and setters. |
|
So you don't like either of the following:
What alternative would you suggest then?