Spyke
sem
lemmy.blahaj.zone

What are you trying to do with it? I have a python where everything is in main() and there are a lot of comments

1
Amonreply
lemmy.world

i'm thinking of teaching some kids python and i'm struggling to figure out how to show the significance of paradigms other than procedural programming

2
Amonreply
lemmy.world

mmm it's not that bad actually i can kind of get what is going on in there

2
semreply
lemmy.blahaj.zone

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.

2

Paradigms only really work when your code has to do enough things. It will come to you eventually

1

You reached the end

I'm trying to teach the significance of abstraction; anyone have Python spaghetti code examples? | Spyke