327
OOP at home: (thelemmy.club)
you are viewing a single comment's thread
view the rest of the comments

It works great for technical constructs. E.g. A Button is a UI element. But for anything business logic related, yeah it'll suck.

[-] FooBarrington@lemmy.world 7 points 6 months ago

Even then there's rarely a good reason to use inheritance instead of composition.

this post was submitted on 10 Feb 2026
327 points (95.5% liked)

Programmer Humor

32767 readers
1037 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 3 years ago
MODERATORS