How a brand-new, safe-but-body-carrying HTTP method finally fixes the awkward POST /search hack every backend developer has written at least once. Introduction Quick question: how many times have you built a POST /search endpoint that doesn't actually change anything? If you’ve been writing backends for more than a year, the honest answer is probably “more … Continue reading Meet HTTP QUERY: The Newest HTTP Method You Probably Haven’t Used Yet
Inside the Go Compiler: Optimizations That Make Your Code Faster
Most Go developers know how to write efficient Go code. But very few know what happens to that code after go build. Consider: func add(a, b int) int { return a + b } func main() { x := add(10, 20) fmt.Println(x) } How many function calls happen here? The obvious answer is one. But … Continue reading Inside the Go Compiler: Optimizations That Make Your Code Faster
What I learned putting my own text editor into production
A follow-up to "The 5.2 kB editor I had to write because nothing else fit." Shipping a package to npm is one thing. Actually using it in the production app it was built for is a different exercise entirely. You find the edge cases nobody would catch in unit tests, because they only show up … Continue reading What I learned putting my own text editor into production
