Re:Go at SoundCloud
by skybrian on Tuesday July 24, 2012 @06:43PM
(#4288425)
Sum types are conceptually cleaner but it's unclear to me how they would help with analysis for this case. I don't know about formally, but informally, it's easy to determine by inspecting the code that a function returns either a value or an error, even it's written as a tuple. It's also easy to determine whether the call sites are handling errors correctly.
[ Parent
| on HN ]
There are no comments on this comment yet.