Ternari·قبل 4 أشهر·discuss>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 سنوات·discussEarly-career person here. How do you protect yourself from corporate politics?
Ternari·قبل 4 سنوات·discuss> I'd be less inclined to unleash a bunch of mid-level devs using Go to create a huge codebaseWhy?
Ternari·قبل 4 سنوات·discussMy propeller hat is a dignified part of my professional attire, thank you very much.
Ternari·قبل 4 سنوات·discussNo, 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.