Lessons Learned
    • Pass Go Structs and Arrays as Pointers, Everything Else as Values

      Don't Overthink It

      Posted on September 20, 2023

      At work, we recently started a discussion on when to pass function arguments as pointers (by reference) and when to pass by value. A related (but subtly different) question is whether to use pointer receivers or value receivers. Unfortunately, Go’s documentation and standard library aren’t clear on this point, and... [Read More]
    • The Monolith vs Microservices Debate Misses the Point

      It's not an either/or choice, and sometimes the best architecture applies microservices principles to a monolithic deployment.

      Posted on September 4, 2023

      So, you need to build a system that exposes some web services. You’re trying to decide between a microservices architecture and a monolithic one. The typical advice from organizations like Amazon AWS and Atlassian confuses logical and physical architecture and gives the false impression that it’s purely an either/or choice.... [Read More]

      Percy Wegmann  •  2023

      Powered by Beautiful Jekyll