☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 年前OOP theory vs practicelemmy.mlimagemessage-square52fedilinkarrow-up1201arrow-down13
arrow-up1198arrow-down1imageOOP theory vs practicelemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 年前message-square52fedilink
minus-squareThe Ramen Dutchman@ttrpg.networklinkfedilinkarrow-up8·1 年前Does external logging not happen outside of OOP? If so, why not?
minus-square☆ Yσɠƚԋσʂ ☆@lemmy.mlOPlinkfedilinkarrow-up7·1 年前It does, hence why it breaks the paradigm.
minus-squareThe Ramen Dutchman@ttrpg.networklinkfedilinkEnglisharrow-up1·1 年前The paradigm breaks if anything is logged? I feel like I’m missing a few steps in the logic.
minus-square☆ Yσɠƚԋσʂ ☆@lemmy.mlOPlinkfedilinkarrow-up1·1 年前Logging tends to happen as a side effect that’s completely outside the whole class hierarchy.
Does external logging not happen outside of OOP?
If so, why not?
It does, hence why it breaks the paradigm.
The paradigm breaks if anything is logged?
I feel like I’m missing a few steps in the logic.
Logging tends to happen as a side effect that’s completely outside the whole class hierarchy.