202
Senior devs... (thelemmy.club)
you are viewing a single comment's thread
view the rest of the comments
[-] balsoft@lemmy.ml 4 points 1 week ago* (last edited 1 week 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, makes code readable by extracting common logic and giving it a recognizable name, and reduces boilerplate.

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.

this post was submitted on 30 Jan 2026
202 points (93.2% liked)

Programmer Humor

40848 readers
73 users here now

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

Rules:

founded 6 years ago
MODERATORS