3 ms·
"Reflection lets library users get around the regular stupid things library developers do." Like marking variables as private?
by spaetzleesser 5y ago
"Reflection lets library users get around the regular stupid things library developers do."
Like marking variables as private?
- moron4hire 5y agoYes, especially if that variable is an IDisposable that the library author also forgot to dispose. Like Microsoft's own System.IO.Ports.SerialPort with its underlying data stream.
- spaetzleesser 5y agoWhy do we have things like "private" and "protected" if people can circumvent them?
- moron4hire 5y agoBecause only a Sith deals in absolutes