News for hackers. Stuff that matters.
Re:On Go by cpeterso on Sunday June 02, 2013 @03:49PM (#5809823)
To allow lazy error checking without losing safety, perhaps Go could special case _ so that error codes assigned to _ abort for failure values.
Re:On Go by nknighthb on Sunday June 02, 2013 @04:00PM (#5809875)
I would love something like this, actually.

I'm not sure I like the idea of special casing _ specifically, but a similarly concise way of saying "if this fails, this thread of execution is FUBAR" would be great.

"!!", maybe?

Re:On Go by coldtea on Sunday June 02, 2013 @07:36PM (#5810541)
Could just be "!" by itself no?
Re:On Go by pcwalton on Sunday June 02, 2013 @04:57PM (#5810060)
They can't change that at this stage without breaking the Go 1.0 compatibility promise.