You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Go language have a defer keyword. However, the Go defer is different than Zig defer. Because Go defer is "move expression to function exit", while Zig defer is "move expression to current scope exit".
The Go language have a
defer
keyword. However, the Godefer
is different than Zigdefer
. Because Godefer
is "move expression to function exit", while Zigdefer
is "move expression to current scope exit".This difference have a slightly different effect.
https://go.dev/tour/flowcontrol/12
The text was updated successfully, but these errors were encountered: