Amon@lemmy.world to Ask Lemmy@lemmy.world · 19 days agoI'm trying to teach the significance of abstraction; anyone have Python spaghetti code examples?message-squaremessage-square7fedilinkarrow-up18arrow-down10
arrow-up18arrow-down1message-squareI'm trying to teach the significance of abstraction; anyone have Python spaghetti code examples?Amon@lemmy.world to Ask Lemmy@lemmy.world · 19 days agomessage-square7fedilink
minus-squaresem@lemmy.blahaj.zonelinkfedilinkarrow-up2·13 days agoThanks – I’ve never been able to wrap my head around object oriented programming – it has always made more sense to me to treat the program like a script, but I think I need to learn to understand the oop paradigm if I want to make progress.
minus-squareAmon@lemmy.worldOPlinkfedilinkarrow-up1·13 days agoParadigms only really work when your code has to do enough things. It will come to you eventually
Thanks – I’ve never been able to wrap my head around object oriented programming – it has always made more sense to me to treat the program like a script, but I think I need to learn to understand the oop paradigm if I want to make progress.
Paradigms only really work when your code has to do enough things. It will come to you eventually