The Two Reasons I Prefer Passing Struct Pointers Around
Choosing consistency over performance.
Choosing consistency over performance.
It’s time to ask ourselves how much abstraction in our Go code really makes sense.
Python and Go have distinct qualities that can complement each other.
A simple pattern that will help you reduce error handling, while keeping your Go code simple and idiomatic.
I am trying to make sense of what I can do better next time.
My struggle to choose the right type semantic and keep code consistent at the same time.
Did Google reinvent both EJBs and Spring in Go?
While Go doesn’t have proper enums, you can create a more robust enum-like construct using interfaces and structs.
sqlc is a fantastic time and boilerplate saver, but is not a one-size-fits-all solution. Here are a few drawbacks I think people should be aware of.
When you just want to implement one or two methods … but be careful.