logoalt Hacker News

Adding Go's Defer to the TypeScript Compiler

13 pointsby healeycodestoday at 8:12 PM4 commentsview on HN

Comments

throwaway81523today at 9:38 PM

Article describes try/finally as a hack to get the effect of defer, but it looks to me like it's the other way around? Try/finally is more traditional, in one form or another.

show 2 replies