Programming
2023
Which JVM Language Would You Choose for a New Server-Side Project?
Results from my Mastodon poll and my personal 2 cents.
Create Robust "Enums" in Go
While Go doesn’t have proper enums, you can create a more robust enum-like construct using interfaces and structs.
Things to Consider When Going With sqlc
sqlc is a fantastic time and boilerplate saver, but is not a one-size-fits-all solution. Here are a few drawbacks I think people should be aware of.
Partially-Implemented Interfaces in Go
When you just want to implement one or two methods … but be careful.
User or *User - Do We Need Struct Pointers Everywhere?
A bit of up-front thinking can help make our Go code cleaner and more performant.
2022
The Big Thing in Unix
The big thing in Unix was the realization that instead of building large monolithic systems, one could build smaller programs which could communicate with each other.
Consistent > Idiomatic
As a software engineer, I’ve learned that consistency in code is crucial for the long-term success of a project, even when it means deviating from idiomatic principles.
Never Did. Never Will.
20 years ago: Use a fat and complex persistence framework on top of the DB, because we might switch DBs in the future…
Book Review: Zero To Production In Rust
Luca Palmieri’s book, Zero To Production in Rust is a great guide for those looking to learn Rust by building an email newsletter-sending Web service from scratch. The book is full of first-hand developer tips on how to set up one’s environment or what tools to use, and goes beyond explaining the usual steps one can find in the official documentation.
Matt Mueller: Building Modern Web Applications Faster With Bud
Bud is a brand-new Web framework. It takes the best of Go and JavaScript to help developers focus on solving actual problems without worrying about type safety, performance, or deployment.