Go EP2: Define interfaces in the consumer package, not the producer.
blog.devtrovert.com
Last week: This week's takeaways Return -1 or nil to indicate error. Understanding "Return fast, return early" to avoid nested code. Define interfaces in the consumer package, not the producer. Avoid named results unless necessary for documentation.
Go EP2: Define interfaces in the consumer package, not the producer.
Go EP2: Define interfaces in the consumer…
Go EP2: Define interfaces in the consumer package, not the producer.
Last week: This week's takeaways Return -1 or nil to indicate error. Understanding "Return fast, return early" to avoid nested code. Define interfaces in the consumer package, not the producer. Avoid named results unless necessary for documentation.