GKGabor Koosinfreecodecamp.org·Apr 6 · 17 min readHow to Go from Toy API Calls to Production-Ready Networking in JavaScriptImagine this scenario: you ship a feature in the morning. By afternoon, users are rage-clicking a button and your UI starts showing nonsense: out-of-order results, missing updates, and random failures00
GKGabor Koosinpocketgopher.hashnode.dev·Mar 11 · 1 min readHow to Find the Top-K Items: Heap and Streaming Approaches in GoMy latest freeCodeCamp article walks through practical ways to solve Top-K problems efficiently in Go, including heap-based and streaming-friendly approaches, with a focus on performance and real-worl00
GKGabor Koosinfreecodecamp.org·Mar 10 · 13 min readHow to Find the Top-K Items: Heap and Streaming Approaches in GoFinding the top K items in a dataset pops up everywhere: from highlighting the hottest posts in a social feed, to detecting the largest transactions in a financial system, or spotting the heaviest use00
GKGabor Koosinpocketgopher.hashnode.dev·Jan 14 · 1 min readUnit Testing in Go - A Beginner's GuideMy latest FreeCodeCamp article covers unit testing in Go, why it matters, and practical examples for writing cleaner, more testable code. Check it out here: https://www.freecodecamp.org/news/unit-testing-in-go-a-beginners-guide/00
GKGabor Koosinfreecodecamp.org·Jan 12 · 15 min readUnit Testing in Go - A Beginner's GuideIf you're learning Go and you’re already familiar with the idea of unit testing, the main challenge is usually not why to test, but how to test in Go. Go takes a deliberately minimal approach to testing. There are no built-in assertions, no annotatio...00