this post was submitted on 30 May 2024
390 points (94.5% liked)

Programmer Humor

31251 readers
1619 users here now

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

Rules:

founded 4 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 1 points 1 month ago (1 children)

I mean, bad programming sucks regardless of the "paradigm" (and vice-versa, mostly). But as someone whose job it often is to sift through production logs hunting for an issue in someone else's component, at least I have a chance with OOP, because its behavior is normally predictable at compile time. So with the source and the backtrace I can pretty reasonably map the code path, even if the spaghetti is 300 calls deep.

Now where shit really hits the fan is OOP with dependency injection. Now I'm back to square 1 grepping through 15 libraries because my LSP has no idea where the member comes from. Ugh.