Using The Adapter Design Pattern To Decouple Libraries From Go Apps
A major benefit of Go is the explicitness of the code. There is no magic going on, no annotations doing implicit work. The flow is clear about what it is happening with the data while elegantly minimizing boilerplate code and maximizing readability. Maybe, that’s the reason why frameworks are not popular among Go developers. We prefer using libraries that do one thing and one thing only, so we can compose them as we think they fit. This is great for mature developers and painful for beginners who expect an opinionated archetype to start with, but Mandalorians think this is not the way.
Continue reading...Using Goroutines to Search Prices in Parallel
My very first job was in an Internet Service Provider. I was a technical support co-op solving connectivity issues in a time connectivity was an issue that didn’t solve by itself. My boss was known by his incredible talent to concentrate in multiple things at the same time. He challenged every theory about focus and could talk to you while listening to a sales representative, answering emails and thinking about the weekend. He was and I think he still is multi-threaded. When practising sports, instead of picking running or swimming or biking, he went for triathlon, iron-man, ultra-man, you name it. I can only admire him because I personally have a single focus ability and leave multi-threading for computers. Coincidence or not, my focus today is multi-threading in Go.
Continue reading...Applying the Strategy Pattern to Get Prices from Different Sources in Go
I keep searching for concrete examples in my quest to convince you that Go is a great language for business. I found in finance a great source of ideas to prove my point. I already explored this subject twice (1 and 2) and today I’m going to explore it again.
Continue reading...What I'm Reading
Recent Posts
-
Deploying an Azure Function in Go
-
Developing an Azure Function in Go
-
Go as a Business Language
-
Table Versioning With Liquibase
-
Go: Ugly and Boring for the Good of Software
-
The Anxious Newcomer
-
Dealing With Money in Software
-
Circuit Breaker For API Calls in Java
-
What I Know So Far About Dealing With A Pandemic Crisis
-
Exponential and Geometric Distributions: A COVID-19 Example
-
What is the Difference Between Carbon Monoxide and Carbon Dioxide?
-
La Brocante Bruyeres: A Year Later
-
Settling in Canada