☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 12 days agoOOP theory vs practicelemmy.mlexternal-linkmessage-square49fedilinkarrow-up1191arrow-down12
arrow-up1189arrow-down1external-linkOOP theory vs practicelemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 12 days agomessage-square49fedilink
minus-squareFonzie!@ttrpg.networklinkfedilinkarrow-up7·11 days agoDoes external logging not happen outside of OOP? If so, why not?
minus-square☆ Yσɠƚԋσʂ ☆@lemmy.mlOPlinkfedilinkarrow-up4·11 days agoIt does, hence why it breaks the paradigm.
minus-squareFonzie!@ttrpg.networklinkfedilinkEnglisharrow-up1·10 days 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·10 days 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.