zekro' Dev Blog
  • Software Design
  • Web Dev
Sign in Subscribe

Software Design

A collection of 3 posts
OOP in Go is awesome.
Golang

OOP in Go is awesome.

The way Go handles general concepts of OOP is one of the many awesome things about this language—when you get to understand it. What is OOP? OOP is short for Object-oriented Programming, which is a programming paradigm based on objects, initialized from classes or structs, which can contain
03 Jul 2021 9 min read
Hard-Capping a bytes.Buffer.
Golang

Hard-Capping a bytes.Buffer.

Go has a handy dandy struct called bytes.Buffer [https://golang.org/pkg/bytes/#Buffer] which consumes a byte slice and implements the interfaces io.Writer [https://golang.org/pkg/io/#Writer] and io.Reader [https://golang.org/pkg/io/#Reader]. So, it's simply a slice of memory
05 May 2021 3 min read
How Dependency Injection makes large Projects more fun to work with.
Golang Featured

How Dependency Injection makes large Projects more fun to work with.

> Because "Dependency Injection" is such a chunky word, I will refer to it as "DI" further in the article. First of all, what the heck is DI? Take the following example: We have a web application which is accessible via a REST API. This application
16 Apr 2021 4 min read
Page 1 of 1
zekro' Dev Blog © 2026
Powered by Ghost