© 2023 Hashnode
#go-cjidm6n1p00lpq9s29dy2bsiq
The efficient use of data structures and algorithms is critical in contemporary software development. It allows developers to create software solutions that are faster, more scalable, and cost-effecti…
Go, an open-source programming language developed by Google is gaining popularity among programmers of all levels. Whether you’re a seasoned programmer or just starting, there are plenty of resources …
If you study programming for any significant length of time, you will inevitably come across the concept of interfaces. When I initially learned about interfaces I discovered plenty of tutorials on th…
Go, also known as Golang, is a programming language developed by Google in 2009. It was designed to be a language that is simple, fast, and easy to use, with a focus on concurrency and safety. Go was …
In this article, I’m going to cover some rules of thumb for logging in go, as well as some functions you may not have heard of that can make your debugging life easier. Rule #1 – Use Errors Where Appr…
Pure functions are often hyped up in the Javascript world, probably because of the abundance of state in front end applications. While pure functions have their downsides (i.e. inconvenience, potentia…
Introduction The Open-Closed Principle states that types should be open for extension, but closed for modification. Analogy Lets assume we're operating an online store, and we want end users to be abl…
Introduction The Single Responsibility Principle states that a class or type should have one primary responsibility and as a result one reason to change. That reason being related to its primary respo…
In this tutorial, I’m going to walk you through building a streaming API using Golang. Don’t worry, its surprisingly easy to build a robust streaming server, especially if we utilize one of the more m…
For the most part, Go developers are pretty good about using constants for global configuration, rather than global variables. A problem arises however when we want a global constant slice or map. The…