this post was submitted on 13 Nov 2024
171 points (98.9% liked)

Programmer Humor

32560 readers
361 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
[–] lord_ryvan@ttrpg.network 6 points 1 week ago (1 children)

Does external logging not happen outside of OOP?

If so, why not?

[–] yogthos@lemmy.ml 3 points 1 week ago (1 children)

It does, hence why it breaks the paradigm.

[–] lord_ryvan@ttrpg.network 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.

[–] yogthos@lemmy.ml 1 points 1 week ago

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