Yes, decades ago I was also fascinated by python and it's ease of doing stuff (compiler doesn't complain that I missed something) but with time I grew fond of statically typed languages... they simply catch swaths of errors earlier...
But we’re doomed to repeat the same nonsense over and over again because people believe vomiting out [bad] code as fast as possible is the right way to do things.
PHP, JavaScript, Python, Lua - the list is endless with absolutely trash languages with a big following of trash engineers.
And now we’ve added LLMs to the mix. Yay!
I've written software with both typed and untyped languages and never had problems (out of the ususal) with them.
Ah... yes... because static languages doesn't do that by forcing you to properly model everything. And as a bonus you can easily navigate between everything and not fear that you miss something while refactoring...
So yeah that small not hit portion of code can always be a time bomb if it does not get tested...
That has nothing to do with the language, and can happen in any language.
>"solution : use dataclasses"
Damn, it's almost like using an untyped language for large projects is not a great idea.