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

Programmer Humor

32533 readers
551 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] 6 points 1 week ago (1 children)

Does external logging not happen outside of OOP?

If so, why not?

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

It does, hence why it breaks the paradigm.

[–] [email protected] 1 points 6 days 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 6 days ago

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