☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 month agoOOP theory vs practicelemmy.mlimagemessage-square45fedilinkarrow-up1168
arrow-up1168imageOOP theory vs practicelemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 1 month agomessage-square45fedilink
minus-squareFonzie!@ttrpg.networklinkfedilinkarrow-up6·1 month agoDoes external logging not happen outside of OOP? If so, why not?
minus-square☆ Yσɠƚԋσʂ ☆@lemmy.mlOPlinkfedilinkarrow-up3·1 month agoIt does, hence why it breaks the paradigm.
minus-squareFonzie!@ttrpg.networklinkfedilinkEnglisharrow-up1·1 month agoThe 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 month agoLogging 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.