this post was submitted on 13 Nov 2024
110 points (97.4% liked)

Programmer Humor

32997 readers
239 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 3 points 2 months ago (1 children)

Does external logging not happen outside of OOP?

If so, why not?

[–] yogthos@lemmy.ml 1 points 2 months ago (1 children)

It does, hence why it breaks the paradigm.

[–] lord_ryvan@ttrpg.network 1 points 2 months 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 2 months ago

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