Go · Concepts
Go defer, Errors, and ClosuresLIFO, Error Wrapping, and the Loop Variable Trap
Go dropped exceptions and filled the gap with defer and errors as values. All three take seconds to learn and keep producing traps for years. I reorganized them around one question: exactly when, and what, does each one hold on to?