Re:Exotic Programming Ideas, Part 3: Effect Systems
by shthrow on Tuesday November 24, 2020 @01:34PM
(#25201425)
Correct, 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.
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.