3 ms·
Looking at object getter/setters in any OOP is likely to be pretty uninspiring :) There's no logic there, this is basically just boilerplate for some other cod
by joshschreuder 6y ago
Looking at object getter/setters in any OOP is likely to be pretty uninspiring :)
There's no logic there, this is basically just boilerplate for some other code to set properties on an object. Something that actually has some business logic will be much more interesting to read, eg.
https://github.com/PowerShell/PowerShell/blob/15c2245af9748659643626db863540aed4d4f72e/src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHost.cs https://github.com/PowerShell/PowerShell/blob/15c2245af97486...
- jeffdavis 6y agoYeah, clearly there's some code somewhere that does something. I just don't understand why there are so many files and so much code that does nothing and means nothing. I'm fine with verbosity. I'm fine with lots of data type declarations, annotations, things that make the compiler happy, etc. But a file full of getters and setters? I can put up with it, but I don't understand why.