this post was submitted on 13 Nov 2024
195 points (98.5% liked)

Programmer Humor

32570 readers
143 users here now

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

Rules:

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

Does external logging not happen outside of OOP?

If so, why not?

[–] [email protected] 7 points 1 week ago (1 children)

It does, hence why it breaks the paradigm.

[–] [email protected] 1 points 1 week ago (1 children)

The paradigm breaks if anything is logged?

I feel like I'm missing a few steps in the logic.

[–] [email protected] 1 points 1 week ago

Logging tends to happen as a side effect that's completely outside the whole class hierarchy.