Coding Tips #1: Name Your Maps Like You Care About Your Future Self
Let’s say you’re reading some Go code and stumble upon this:
⛶for _, transaction := range transactions {
customer := customerMap[transaction.Ref]
sendReportEmail(customer.Email)
}At firs...