Especially for Python where almost no programmers seem to do it. Noobs then just do the same, have few role models to guide them.
Yeah. And lot of online resources, guides, books, example code, etc focus on the basics of how to get the code working under ideal conditions and not how to make it robust. Error handling etc. is seen as something you add later once the code works. If it's added at all.
In many ways learning programming via the internet is like learning it in school in the 80s. If you're lucky the teacher is a lesson ahead of you but barely understands it. If you're unlucky you're way ahead of teach and out on your own.
Python can be particularly annoying due to the official recommendation that it's "better to ask forgiveness than permission".
But we're drifting off topic...
Arguably, all this stuff is out of scope for an eleven year old but I'm in favour of starting out right rather than having to unlearn bad habits later. Been there, done that, bought the T shirt.
Statistics: Posted by thagrol — Tue Dec 16, 2025 3:03 pm