|
|
|
|
|
by lll-o-lll
378 days ago
|
|
Or you change it and respond with “You were warned”. I seriously do not get this take. People use reflection and all kinds of hacks to get at internals, this should not stop you from changing said internals. There will always be users who do the wrong thing. |
|
I can't break their app without them complaining to my boss's boss's boss who will take their side because their app creates money for the company.
Having actual private fields doesn't 100% prevent this scenario, but it makes it less likely to sneak through code review before it becomes business-critical.