Code Room
Vibe codingHard
Question
You ask an AI to explain this Go worker-fan-out so you can extend it. The agent says: "It launches one goroutine per job and each goroutine processes its own job concurrently — clean and correct." The codebase is on Go 1.20. Is the explanation correct, and how do you verify the per-goroutine claim before you build on it?
for _, job := range jobs { go func() { process(job) }()}What a strong answer looks like
Treat the AI’s output as a draft to verify, not an answer to trust. Name the specific flaw and the input that triggers it, say how you’d catch it — tests, edge cases, reading critically — and how you’d re-prompt or decompose to get it right.
Learn the concepts
Vibe coding: describe the solution in plain language (or narrate it) and the coach grades your approach. Generating runnable code from your description is coming next.
Run or narrate your approach, then ask the coach.