Re:Why Today's Python Developers Are Embracing Type Hints
by promiseofbeans on Sunday September 28, 2025 @05:05AM
(#45402875)
So… Typescript?
Re:Why Today's Python Developers Are Embracing Type Hints
by whizzter on Sunday September 28, 2025 @06:17AM
(#45403210)
Yes, the sad part is that some people experienced early TypeScript that for some reason had the idea of forcing "class" constructs into a language where most people wasn't using or needing them (and still aren't).
Sometimes at about TypeScript 2.9 finally started adding constructs that made gradual typing of real-world JS code sane, but by then there was a stubborn perception of it being bad/bloated/Java-ish,etc despite maturing into something fairly great.
I do want to be able to write a dynamically typed function or subsystem during the development phase, and „harden” with types once I’m sure I got the structure down.
But the dynamic system should fit well into the language, and I should be able to easily and safely deal with untyped values and convert them to typed ones.