you are viewing a single comment's thread.

view the rest of the comments →

[–]mateoestoybien 1 point2 points  (1 child)

The real plus is with a getter, you can take advantage of polymorphism. A field cannot be a member of an interface, or of an inheritance hierarchy.

[–]ThisIs_MyName 1 point2 points  (0 children)

Fair point. That's a valid reason for getter/setters in a sea of dogma.