Re:Things I Love About Go
by zemo on Friday June 22, 2012 @03:17PM
(#4148291)
the last time he posted this was in response to me, so I'll join the discussion here to avoid duplication. This was his response when I asked for some clarification:
>My problem with Go is that it does not have sum-types and pattern-matching. This means that branching (conditionals) in Go do not gain any type-information. And that means that programmers have to manually keep track of the invariants that hold true in each of their conditionals, and if they get them wrong, they get no help from the compiler.
>My problem with Go is that it does not have sum-types and pattern-matching. This means that branching (conditionals) in Go do not gain any type-information. And that means that programmers have to manually keep track of the invariants that hold true in each of their conditionals, and if they get them wrong, they get no help from the compiler.