Code Room
Code reviewHard
Question
Review this Go multi-service booking orchestration.
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.
Learn the concepts
func BookTrip(t Trip) error { if err := hotels.Reserve(t.Hotel); err != nil { return err } if err := flights.Book(t.Flight); err != nil { return err } if err := payments.Charge(t.Card, t.Total); err != nil { return err } return nil}Run or narrate your approach, then ask the coach.