|
|
|
|
|
by jhall1468
3004 days ago
|
|
> The point of type checking is that it has to be rigorous, it doesn't do anything for you if it doesn't check types. I don't always need to check types. I don't need to know that isReady returns a bool. It clearly returns a bool. This idea that type checking has to be absolute is because in statically typed languages it does, not because that's a forgone conclusion. |
|
I'm sorry but you're mistaken, friend. I checked the signature of that function and it actually returns an enumeration of ready states:
Static typing is extremely useful for knowing what things return - names are not.