this post was submitted on 20 Jul 2024
65 points (100.0% liked)

Programming

423 readers
9 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities !webdev@programming.dev



founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] onlinepersona@programming.dev 7 points 4 months ago (1 children)

Why do you even have to mention OOP? C# is object oriented too. Would you start explaining OOP too when teaching C#?

Python is comparatively easier as it's nearly literally pseudo-code. There's no need to even write a main function or functions at all. It uses less characters too e.g no need for semi-colon, brackets in for loops and if statements

As for indentation being exact, IMO that's on you. Beginners should be given a proper development environment to work in that helps them as much as possible. Modern editors and IDEs point out syntax errors and indentation errors are incredibly basic. If they are working in an environment that doesn't even point that out to them, they have been setup incorrectly.

Anti Commercial-AI license

[–] SmartmanApps@programming.dev 6 points 4 months ago

Why do you even have to mention OOP?

Because I was saying why it's a bad choice to teach to Year 7. I already said if it was up to me I'd teach them Pascal.

C# is object oriented too

Yes, I know, but in this case it's the lesser of 2 evils, for the other reasons I gave.

Python is comparatively easier as it’s nearly literally pseudo-code

And as I just said to someone else, students even struggle with pseudo code.

e.g no need for semi-colon, brackets

And I already said that's one of the drawbacks - indenting has to be EXACT or your program doesn't work anymore.

As for indentation being exact, IMO that’s on you

It's not on me - it's in the language itself to begin with. I have no control over it.

Beginners should be given a proper development environment to work in that helps them as much as possible. Modern editors and IDEs point out syntax errors and indentation errors are incredibly basic

Now see if you can get the school admin's to install those ones. As I said, that's the root issue to begin with - the school admin's.

If they are working in an environment that doesn’t even point that out to them, they have been setup incorrectly

Now see if you can get the school admin's to fix it. Welcome to the struggle the teachers face in teaching what WE want to teach them.