Re:My Go Resolutions for 2017
by ori_b on Thursday January 19, 2017 @03:32AM
(#13434102)
> If you add a new type to a sum type in a statically typed language, that's a breaking change for all downstream consumers.
Yes, but that's true regardless of whether the compiler tells you or not. The question is whether adding the value to the set of types that can be returned breaks at compile time or at run time.
Yes, but that's true regardless of whether the compiler tells you or not. The question is whether adding the value to the set of types that can be returned breaks at compile time or at run time.