top | item 29304693

(no title)

SjorsVG | 4 years ago

Runtime type checking.. What a dreadful idea

discuss

order

nhumrich|4 years ago

Most places I see runtime type checking, is when checking the type of incoming data, aka, Json, or if the function is a library and you are helping the callers use the correct types. Go/java, etc all do this by default. You read an int from a in memory untyped object, and you get an error if it's not actually an int.

tirpen|4 years ago

Much worse than static type checking. But infinitely better than no type checking.