Recent Posts

How to work with decorators in ruby

4 minute read

Sometimes, we find ourselves wanting to add functionality to objects of a class without affecting all objects of the class (unlike inheritance or composition...

Embedded and promoted fields in go structs

3 minute read

Structs are one of the most widely used data structures in go. Combined with interfaces and methods, structs allow us model our data in a way that is somehow...

How to use nil channels in Go ?

5 minute read

Channels is an integral part of Go applications. They are typed conduits that allow communication between different parts of an application. Recently, I came...