Ternari·4 か月前·議論>you need to watch over and destruct goroutines manually to prevent memory leaksNo, you don’t. Any stack-allocated resources are freed when the function returns. WaitGroup is just there for synchronization.
Ternari·4 年前·議論> I'd be less inclined to unleash a bunch of mid-level devs using Go to create a huge codebaseWhy?
Ternari·4 年前·議論No, they’re right. A non-negligible amount of software engineers in the US make >$1.2M per year.
No, you don’t. Any stack-allocated resources are freed when the function returns. WaitGroup is just there for synchronization.