Great advice here on making code readable - it's definitely easier to decode what someone is thinking if the happy path is always on the left, and errors are dealt with and returned. Most go code I've seen adopts this style.
Great advice here on making code readable - it's definitely easier to decode what someone is thinking if the happy path is always on the left, and errors are dealt with and returned. Most go code I've seen adopts this style.