One of my gripes with OOP is the attempt to hide internal state from callers. Public, private, protected, friend classes ... it's all nonsense that just slows you down. Invariably you find that you need more access because your original API wasn't quite right, and then you're stuck refactoring a ton of unrelated places just to make one more field accessible.
Good abstractions are easy to update, and easy to pierce when necessary.
=> More informations about this toot | View the thread | More toots from hyc@mastodon.social
text/gemini
This content has been proxied by September (ba2dc).