Apr. 5, 2023

Golangs Mistake

Golang is not a perfect language. It has multiple flaws, that others have pointed out. But I still use it every day because it’s familiar, easy to write, fast and most importantly lets me get things done. But there is one thing that makes this languge a pain to use. It’s zero values. Zero values Most languages contain The Billion Dollar Mistake. Everyone has at some point forgotten to check for null before using some variable and then been forced to watch as the spaghetti mess explodes right in front of your eyes.

Apr. 30, 2022

Starting with Rust

TLDR: I finally bit the bullet and jumped into Rust and I love it. Meet Todoist CLI I am a big user of todoist for everyday task tracking. It’s simple and easy to use, but has one small problem. I can’t do it from my terminal. So I had started to write my own CLI app in Go for that, since I was comfortable with it. It was basically just a wrapper around their REST API.

Feb. 13, 2021

Golang + Postgres + Docker

Problem NOTE: this somehow turned into a small rant about PHP, but that better explains why I like Golang and Docker setups so much Everyone who has ever worked with PHP web development knows how painful can be to set up your development environment. There are loads of problems : You must know the right versions that you have to install Every framework can have slightly different extension requirements Every framework can have slightly different php.

Dec. 17, 2020

PHP Sucks 0

Note : This is a little series I will call PHP sucks. I used to rant about why PHP sucks in my day to day job to my friends, now I could just turn it into a series. Enums Enums are a special type that represents a group of constants. They are useful for a lot of things, for example logging levels, or representing types of products available and so on.

Oct. 28, 2020

Starting a blog

I tried to start a blog for a about a half year. This was a rollercoaster of ideas and experiments. My first idea was to create a small web server in Go. The requirements for it was : minimal, just serve static content with some templating content should to be written in markdown which I know really well and html is trash for writing text Simple Go server Since I have used Go as my main language for about a year creating the server was a breez.