For any self improvement where it's equally difficult, and it's only the changing cost, do your best to change immediately.
For example it's basically identical to write, but the latter is much much more valuable code. Identical effort, more value.
log.Printf("thang blew up: %v", err) // vs logrus.WithError(err).Error("thang blew up")
For any self improvement where it's equally difficult, and it's only the changing cost, do your best to change immediately.
For example it's basically identical to write, but the latter is much much more valuable code. Identical effort, more value.
I try my best to seek out those "equally" difficult but better things and eat the change cost asap