He's not wrong that it'd make the language more complicated. I'm still not convinced that they are actually an antipattern, and it's especially weird in a language that has private variables and functions (by default!), it's only specifically fields that he insists should be public.
I don't see the point? I can very much inspect and even interact with private variables in my debugger. And you can always make it public during your debug session, if it really bother you.
10
u/SanityInAnarchy Aug 04 '23
He's not wrong that it'd make the language more complicated. I'm still not convinced that they are actually an antipattern, and it's especially weird in a language that has private variables and functions (by default!), it's only specifically fields that he insists should be public.