News for hackers. Stuff that matters.
Re:Welcome to C# 9.0 by joshschreuder on Wednesday May 20, 2020 @06:14PM (#23252592)
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/15c2245af97486...

Re:Welcome to C# 9.0 by jeffdavis on Wednesday May 20, 2020 @07:59PM (#23253442)
Yeah, 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.