Toot

Written by Howard Chu @ Symas on 2025-01-07 at 14:15

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

Mentions

Tags

Proxy Information
Original URL
gemini://mastogem.picasoft.net/toot/113787491326680233
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
221.772541 milliseconds
Gemini-to-HTML Time
0.275823 milliseconds

This content has been proxied by September (ba2dc).