Re:Starlark Programming Language
by kccqzy on Monday December 09, 2024 @11:10AM
(#42367497)
That's only true for greenfield projects where people start a new project with types in mind. It's absolutely a nightmare for old projects because, without the need to write types, people write all kinds of code that cannot fit within what's possible in python's type annotations.
[ Parent
| on HN ]
Re:Starlark Programming Language
by poincaredisk on Monday December 09, 2024 @11:55AM
(#42367890)
In my opinion it's a bad practice, and rewriting code to be typeable is a good idea for refactoring.
But I write Python for some time now, and I know what you mean. I have nightmares about codebases with dynamically generated class fields for example (though I heard ruby is even worse)