7 ms·
Static typing only increases bug count when devs who can't be bothered writing proper code cast stuff willy nilly/hack the code into working rather than put the
by fennecfoxy 3y ago
Static typing only increases bug count when devs who can't be bothered writing proper code cast stuff willy nilly/hack the code into working rather than put the effort in to growing and pruning the type system as needed. At least from what I've seen.
But even then that's only as bad as not using any types at all, the statement that statically typed languages create more bugs is just plain ridiculous - there's a reason that space-faring agencies and defence contractors exclusively use statically typed languages with very strong rulesets on how code is written.