Is defining get/set methods for every field overkill?
matheus
matheus at gmail.com
Thu Nov 17 09:46:57 UTC 2022
On Thursday, 17 November 2022 at 04:39:35 UTC, thebluepandabear
wrote:
> ...
> It's not a lot of code that has been added but if you have a
> class with say 10 different fields, adding getter methods would
> definitely increase the code size by a lot, so what are you
> guys thoughts on this?
Food for thought:
https://yewtu.be/watch?v=_xLgr6Ng4qQ
or
https://www.youtube.com/embed/_xLgr6Ng4qQ
Matheus.
More information about the Digitalmars-d-learn
mailing list