3 ms·
I think the concern is: It's currently a getter/setter but might change later. Maybe for debugging you want to log a callstack every time the field gets access
by MichaelBurge 4y ago
I think the concern is: It's currently a getter/setter but might change later.
Maybe for debugging you want to log a callstack every time the field gets accessed, for example.
Or when you set the field, you should invalidate some cached value that uses it.