News for hackers. Stuff that matters.
Re:Why Go Gets Exceptions Right by taylonr on Friday September 14, 2012 @08:39AM (#4521307)
This approach made me think of MFC calls. Instead of having multiple return values you'd have a single return value and multiple out parameters.

It's been years since I've done any MFC work, but calls like:

HWND myWin = GetTopWindowTitle(region, out title, out size, out whateverElse);

Then you'd have to either assume that myWin was not an error code and just use the out parameters, or you'd explicitly check the myWin value each time.

There are no comments on this comment yet.