logoalt Hacker News

dolmentoday at 10:19 AM0 repliesview on HN

The rule is to start a goroutine only if you know how it will end.

A goroutine that has to be killed (no other way to tell it to stop) is a bug.