News for hackers. Stuff that matters.
Re:Go and Assembly by charlieflowers on Thursday February 07, 2013 @03:38PM (#5184356)
Hmmm, interesting. The "defer" approach is a different spin on things. But yes, panic/recover does look like it would address my concerns. I never did like exceptions across package boundaries much, but inside a cohesive module I want to use them instead of a bunch of code that checks return values for error codes.
Re:Go and Assembly by charlieflowers on Thursday February 07, 2013 @10:04PM (#5186063)
Although, another post above says it's not idiomatic, so I guess working with go means accepting the lack of an exception mechanism.
Re:Go and Assembly by pkulak on Friday February 08, 2013 @01:45AM (#5186631)
No, jlgreco had it exactly right.