Code Room
Code reviewHardcr-g097
Subject Swallowed exceptionsLevel Senior–Staff~30 minCommon in Code quality & review interviewsIndustries Software development

Question

Review this Go background worker.

What a strong answer looks like

Separate real bugs from style. Rank issues by severity, point at the root cause rather than the symptom, and suggest a concrete fix — specific and kind.

Talk through your review
Code to reviewgo
func StartWorkers(jobs <-chan Job, n int) {	for i := 0; i < n; i++ {		go func() {			for j := range jobs {				result, err := handle(j)				if err != nil {					continue				}				store(result)			}		}()	}}
Run or narrate your approach, then ask the coach.