News for hackers. Stuff that matters.
Re:Mercurial’s journey to and reflections on Python 3 by weberc2 on Monday January 13, 2020 @07:43PM (#22040560)
Oof, that’s quite a take. Static type checkers by definition don’t change the language’s functionality; they merely check the types.
Re:Mercurial’s journey to and reflections on Python 3 by TylerE on Tuesday January 14, 2020 @12:33AM (#22042139)
Static typing is ceremony. That is anti-Python.

If you want Java, write Java. Don't try to make Python Java.

Re:Mercurial’s journey to and reflections on Python 3 by weberc2 on Tuesday January 14, 2020 @09:35AM (#22045036)
It’s literally Python, and if you’re writing sane/correct Python, you should hardly notice (things will work a little better, documentation will be more complete and actually accurate, etc). You can even do many of the same bizarre things that shitty Python programmers do without static typing, such as return differently types data based on the value of an input parameter. Someone passes in the string “asdf” so we’ll return an int, but if they pass “xyzfoo” we return a datetime. Next thing you know you’ve built matplotlib.