News for hackers. Stuff that matters.
Re:Golang implementation of Bentley/McIlroy compression by frou_dh on Thursday December 19, 2013 @02:32PM (#6937196)
That usage with recover would be to be able to set return parameters that might otherwise be returned as their zero values, correct?
Re:Golang implementation of Bentley/McIlroy compression by pkulak on Tuesday December 24, 2013 @01:46AM (#6958552)
Exactly. You can't return from the outer function in a defer, but you do have access to named return values. It's a bit of a kludge.