|
|
|
|
|
by JamesSwift
668 days ago
|
|
Why loosen the types on the API, when the type system is fully capable of encoding higher-level restrictions? That then locks you into that API as a contract. If you instead lock the API down to the strict set, you are free to expand it over time. |
|