News for hackers. Stuff that matters.
Re:Why type hinting sucks (/r/Python) by est on Saturday February 11, 2023 @07:49AM (#34751893)
Opinion: people don't actually need rigorus typing system, what they need:

1. preven type/interface errors at runtime.

2. get auto-complete for unfamiliar objects or function signature.

Re:Why type hinting sucks (/r/Python) by tremon on Saturday February 11, 2023 @08:37AM (#34752207)
That's true, people don't need rigorous typing systems. However,

1. the way to verify types before deployment is usually through a rigorous type system.

2. auto-completion of type signature is massively easier if the language has a rigorous type system.

It's the tools that people use that need a type system, not the people themselves.

Re:Why type hinting sucks (/r/Python) by The_Colonel on Saturday February 11, 2023 @09:24AM (#34752511)
Sure, but the experience tells us that the best way to achieve these goals is through a rigorous type system.
Re:Why type hinting sucks (/r/Python) by thfuran on Saturday February 11, 2023 @09:29AM (#34752560)
What do you think solves those better than a type system?