Re:Go Turns 10
by liamdiprose on Saturday November 09, 2019 @03:04AM
(#21490294)
I've had similar success with the gradual typing in Python. NamedTuples are far superior to ad hoc dictionaries, for both documenting data structures, but also as a prompt to consider the software structure.
I wasn't aware that typescript type errors were only warnings. Every webpack/typescript project I've used must have had the typecheck set to error, leading me to believe typescript was some draconian type checker akin to Rust or Haskell.
Note that type errors in typescript are actually just warnings and you can ignore them. I never do, but you can.