calhoun.io - Calhoun.io - Go for Everyone

Description: ...

learn golang go gopher coding (1)

Example domain paragraphs

Go's generics use the tilde (~) character to represent types that have a specific underlying type. In this article we explore that in a bit more depth, looking at examples of where this can be useful to make generic functions even more powerful.

Generics provide a way to write type-safe code in a statically typed language like Go. In this article we explore how generics work, use cases for using generics, and some common misconceptions that beginners to generics may have.

Interfaces in Go are going to be a foreign concept to many developers. For many, they will be coming from dynamic languages where interfaces aren't necessary, and for the devs coming from languages like Java they will have to drastically adjust their mindset to take advantage of Go's unique approach to interfaces. In this article we start diving into how those interfaces work.

Links to calhoun.io (8)