HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by sapiogram | Hacker News Reader
Parent
Full thread
sapiogram
·
Go's "red" is also "function may return an error"
View on HN
goldsteinq
·
Sure, but it’s a different effect. Go’s asynchronous “red” is either “accepts a cancellation context” or “accepts a output channel” (since goroutines can’t return values normally).
Reply on news.ycombinator.com