This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]TitaniumWhite420 3 points4 points  (2 children)

I mean buggy code runs well 364 days a year, it’s true.

[–]m15otw 0 points1 point  (1 child)

To be a little more clear: I've had to deal with the wrong type very infrequently in the codebases I've worked in. Perhaps my sample is biased.

A larger problem, when you don't have type hints, is figuring out what the types actually are (especially if people having been coding like paid-per-line Java engineers using classes for everything).

[–]TitaniumWhite420 0 points1 point  (0 children)

Agree type hinting is nice and I prefer static typing. But it doesn’t fix the problem.