324
OOP at home: (lemmy.nz)
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 7 months ago

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

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

Programmer Humor

33472 readers
1012 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