this post was submitted on 30 Jan 2026
155 points (93.3% liked)

Programmer Humor

40389 readers
37 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] balsoft@lemmy.ml 3 points 1 day ago

Abstraction, when used well, is actually a tool that produces more simple code in the long run. It separates different concerns into different pieces of code, and helps readable by extracting common logic and giving it a recognizable name.

That said, OOP-style inheritance-based abstractions, while useful in some cases, quite often lead people down the complete opposite path - mushing together unrelated logic and then making call sites difficult to understand with a lot of hidden state that has to be kept in mind.