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.
[ Parent
| on HN ]
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.