3 ms·
Many modern-ish languages with OO features (Swift, C#) let you declare that a thing has a getter without having to actually write boilerplate, i.e.: privat
by cballard 11y ago
Many modern-ish languages with OO features (Swift, C#) let you declare that a thing has a getter without having to actually write boilerplate, i.e.:
private(set) var foo: Int
Int foo { get }
etc.