The Type Information ProblemWhen your transpiler knows the types but your editor doesn'tApr 10, 2026·6 min read
samber/lo Has 21K Stars. Here's What It Would Look Like as a Language Feature.Mar 19, 2026·9 min read
Library vs Language: Two Approaches to Functional Programming in GoIf you have used IBM's fp-go library, you know the promise of functional programming in Go -- and the pain of Go's syntax fighting you every step of the way. Pipe3, Pipe5, Pipe7. Function adapters eveMar 15, 2026·12 min read
Pattern Matching in Go: How GALA Brings Sealed Types and Exhaustive Matching to the Go EcosystemGo is a language built on simplicity. But simplicity has costs, and one cost Go developers feel acutely is the lack of pattern matching and algebraic data types. If you have ever modeled a closed set Mar 15, 2026·11 min read
Enhancing Golang with Scala-Style Option Handling for Safer CodeAs a developer and a fan of Scala and functional languages I really like to have an ability to be able to handle optional or nullable objects safely and be able to chain them to something new. Standard way to handle them in Golang is to handle them i...Jul 4, 2024·2 min read
Unlocking Scala Mastery with my leetcode Solutions ArchiveIntroduction I have decided to dump my personal leetcode solutions archive. Currently it contains Scala solutions only. I will eventually publish all the remaining solutions in GO, JS and PHP and others. These solutions have been collected over years...May 18, 2024·1 min read
Understanding Scala Extractors: An Easy-to-Follow ExampleLet's implement a simple case class that represents a Time object that contains hours and minutes. For simplicity, we will use 24-hour clock. case class Time(hour: Hour, minutes: Minute) case class Hour(hour: Int) case class Minute(minute: Int) Now ...Aug 12, 2023·3 min read
Exploring Immutable Arrays in Scala: A Deep Dive into VectorsScala Array is not located in the scala.collection.mutable package, however, they are in fact mutable val arr = Array(1,2,3) arr(1) = 3 println(arr.mkString(",")) // 1,3,3 Immutable alternative to Scala Array is Scala Vector val arr = Vector(1,2,3) ...Aug 12, 2023·1 min read