News for hackers. Stuff that matters.
Re:38% of bugs at Airbnb could have been prevented by using ... by skohan on Monday February 11, 2019 @10:29AM (#19135083)
Exactly. In fact, I find dynamic types to be much slower to work with in the long-run.

For example, with a statically typed language, just one look at the method signature is sufficient to know exactly what it has to be passed. In the worst example of dynamic typing, in Javascript I don't even know how many arguments have to be passed. I probably have to look at the API documentation, and hope the author gave details about what the function is expecting.

And compile-time errors are much cheaper than runtime errors.

There are no comments on this comment yet.