Re:Why type hinting sucks (/r/Python)
by speed_spread on Saturday February 11, 2023 @07:48AM
(#34751884)
Groovy taught me that opt-in typing always sucks. Either a language is statically typed from it's inception or it's not. Type hinting is like putting up doors with locks around a house that has no walls to begin with.
[ Parent
| on HN ]
Re:Why type hinting sucks (/r/Python)
by simoncion on Saturday February 11, 2023 @08:45AM
(#34752249)
For what it's worth, Erlang's dialyzer definitely does not suck.
Re:Why type hinting sucks (/r/Python)
by realusername on Saturday February 11, 2023 @09:24AM
(#34752514)
When it works yeah, sometimes good luck figuring out what it wants
Re:Why type hinting sucks (/r/Python)
by doomslice on Saturday February 11, 2023 @09:23AM
(#34752497)
… ten minutes later.
It’s done wonders for quality in JavaScript land
Re:Why type hinting sucks (/r/Python)
by bqmjjx0kac on Saturday February 11, 2023 @09:29AM
(#34752568)
I really like statically-typed languages where you can let the compiler fill in the blanks. Like Rust or Haskell at the farther extreme.