News for hackers. Stuff that matters.
Re:Introducing HTTP Tracing by vertex-four on Wednesday October 05, 2016 @01:10PM (#12645714)
Honestly... you could do it as a primitive type if you wanted. The only "special" bits needed are a piece of syntax which checks if it's an error, and if so returns it, else evaluates to the private value; and a way of unwrapping the actual error value when you want to handle it.

Go already has plenty of complicated language primitives with complex behaviour.

There are no comments on this comment yet.