200
Senior devs... (lemmy.nz)
you are viewing a single comment's thread
view the rest of the comments
[-] balsoft@lemmy.ml 5 points 8 months ago* (last edited 8 months 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
200 points (93.1% liked)

Programmer Humor

43671 readers
4 users here now

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

Rules:

founded 7 years ago
MODERATORS