News for hackers. Stuff that matters.
Re:Errors are values by inglor on Monday January 12, 2015 @08:59PM (#8877700)
Maybe and Either constantly show up when people discuss patterns to make error handling less clumsy in languages without exceptions baked in (and in asynchronous contexts in some languages with exceptions) - I just wish posts like this named what they're talking about better - Rob Pike is undoubtedly aware of the names.
Re:Errors are values by theseoafs on Monday January 12, 2015 @10:16PM (#8877917)
I would not be so sure Rob Pike knows about Maybe and Either. How would he?
Re:Errors are values by enneff on Tuesday January 13, 2015 @05:59AM (#8879044)
This is an amazing comment.
Re:Errors are values by NateDad on Tuesday January 13, 2015 @08:59AM (#8879832)
People are amazingly able to assume ignorance is the cause of disagreement.
Re:Errors are values by harryh on Tuesday January 13, 2015 @12:15PM (#8881121)
LOL LOL LOL. Very nice dig.

A+

Re:Errors are values by TheDong on Tuesday January 13, 2015 @02:16AM (#8878563)
Oh, I dunno, maybe the fact that he designed a programming language which practically proves he must have interest in programming languages. Combine that with the fact that Maybe/Options are neither new nor unusual in language design and fairly heavily discussed and I think it would be practically impossible for him to not have known about them a decade ago. Even failing at that, he would doubtlessly have heard of them since because people discuss them in relation to Go so often.

So yeah, that's how he would know about them. They're extremely common in two areas of his interest (Go discussion/criticisms, language design).

Re:Errors are values by theseoafs on Tuesday January 13, 2015 @01:04PM (#8881479)
Given that the party line on generics in Go has been "Go doesn't have generics, but since generics are mainly used to implement generic collections, you can just use the built-in collection types for those purposes", I wouldn't be shocked if the designers of the language only had a minimal or cursory understanding of Maybe, Either, and friends. I do not mean this as a dig or an insult, but if Rob Pike is at all familiar with the benefits of Maybe and Either (or sum types in general), then it does not show either in his work or in the talks he's given.
Re:Errors are values by prodigal_erik on Tuesday January 13, 2015 @11:23AM (#8880755)
Failing to solve a problem is not evidence that you are familiar with any solutions.