3 ms·
Sure, and of course RAII can be of benefit either way. I'm not a pro-exceptions partisan, just don't like extraneously ugly code in examples. :-P
by dllthomas 12y ago
Sure, and of course RAII can be of benefit either way. I'm not a pro-exceptions partisan, just don't like extraneously ugly code in examples. :-P
- NateDad 12y agoHaha, fair enough. But I was trying to write standard code that you'd see in many popular languages, whose proponents often complain about Go's error handling.
- dllthomas 12y agoFor sure. What I don't like about go's error handling is that it's product, not sum. That's a small objection, though.