|
|
|
|
|
by Tainnor
1569 days ago
|
|
> [...]
types were not remotely the most common type of problem I ever ran into, and certainly not "every" bug. That's a typical response from dynamic typing advocates, but the response is that in a language with a good type system, many more things can be type errors than would be in a dynamically typed one. For example, from my time writing Ruby, trying to call methods on `nil` was an incredibly common error, but this is simply a type error in some more modern statically typed languages (including Kotlin and Swift). |
|