Is defining get/set methods for every field overkill?

matheus matheus at gmail.com
Fri Nov 18 20:18:41 UTC 2022


On Friday, 18 November 2022 at 09:42:21 UTC, []() {}() wrote:
> ...

I think you missed the point of that video very badly.

By the way just a few points from that video:

Around: 2:32 -> "Never ever put in an 'accessor' until it 
actually does something...".

Around: 3:10 -> "If there is an 'accessor' it had better do 
something in there...".

Matheus.


More information about the Digitalmars-d-learn mailing list