News for hackers. Stuff that matters.
Re:Statically-typed error handling in Python using Mypy by CamouflagedKiwi on Monday December 09, 2019 @02:41AM (#21741012)
The distinction between String and int in Java is not explicit, certainly not to a beginner; maybe other classes are because you have to create them with new, but it's not obvious that string literals result in a different kind of thing with different rules than integer literals.

Regardless, none of that changes the fact that it's a bad design decision, because people regularly get it wrong.

There are no comments on this comment yet.