Go's Inheritance Enigma: Exploring Unconvential Patterns

Preamble So, before we dive in, let’s make sure we’re on the same page. I’m assuming you’ve had some run-ins with Go and interfaces before – they’re kind of a big deal here. Oh, and pointers – they’re like the secret sauce in Go programming, so having a good grasp of those will definitely come in handy. Ready? Let’s crack this inheritance enigma wide open! Introduction Transitioning to Go from more conventionally object-oriented counterparts like Java and C++ can be an eye-opening experience. [Read More]

A Guide to Interfaces in Go

In Go, interfaces take the center stage. They are more flexible and more powerful than their counterparts in other languages. When coming to Go from another language, this may not be immediately obvious, yet this realization is quite important for our ability to write well-structured and decoupled code. Let’s explore exactly how flexible they are and how we can make the best use of them. Preamble I’ll assume that you have at least a passing familiarity with the Go programming language and interfaces. [Read More]

You Probably Dont Want a Web Framework

Ruby on Rails. Django. Spring. Symfony. You probably know some of these frameworks and, like me, you’ve probably worked with one or more of them. Web frameworks have established themselves as an important part of web development where they attempt to provide a one-solution-fits-all that has you covered from A to Z, promising automated scaffolding, easy management of entities and their corresponding database tables, out-of-the-box security and comprehensive documentation to get you started. [Read More]