Well, it also fails to compile. Which to me is better than blowing up at runtime, or worse, not blowing up but giving weird results.
This is a superpower during refactoring.
Re:Cold Showers
by cloogshicer on Saturday June 18, 2022 @05:30PM
(#31794004)
Not necessarily. This increased ease of understanding could also simply result in faster development speed - so same number of bugs, but more features in less time.
Not sure though.
Static typing reduces bugs because it aids your understanding.