3 ms·
Okay, so type inference is the vital feature here. It can help in a closed code base. In an open code base, you could inadvertently change a public API, breaki
by skybrian 6y ago
Okay, so type inference is the vital feature here.
It can help in a closed code base. In an open code base, you could inadvertently change a public API, breaking callers that are unknown to you, if the type signature of something public is inferred.
- shthrow 6y agoCorrect, but that is the same for any kind public API though. However that is slowly starting to change with statically typed APIs like GraphQL and Protocol Buffers. You can imagine a public API that is introspected and can tell the client about deprecation and all that.