EEmpreendendo5d ago · 6 min readBuilding Better Character Counters in JavaScript: UX, Unicode, and ValidationBuilding Better Character Counters in JavaScript: UX, Unicode, and Validation Character counters are a small but important part of modern web interfaces. They help users write social media bios, produlcs09.hashnode.dev
DDmitry Kakurin5d ago · 8 min readSome functions can both fail and return nothingIn the previous post we've limited Union Types to just two kinds: ?T for T | None and !T for T | Error. One of the corollaries was that ?!T/!?T is not supported, because it would mean T | None | Errordimagog.hashnode.dev
DDmitry Kakurin5d ago · 6 min readBetter error handling with just two Union TypesIn previous posts I've covered my beef with error handling in some programming languages: Why Go-style error handling is not great Why TypeScript and Crystal have the best Union Types But what can wdimagog.hashnode.dev
DDmitry Kakurin6d ago · 5 min readWhy Go-style error handling is not greatThere is an important concept in software development called "correct by construction" 1. Briefly, it means incorrect things cannot be expressed using a language/library/config/etc. in question. And idimagog.hashnode.dev
MMaksim MartianovOct 21 · 16 min readGo Can Call GALA Now: GALA in October (0.85 → 0.92)Here's a Go program. Nothing in it mentions GALA: package main import ( "fmt" "example.com/billing" ) func main() { team := billing.NewPlanPro(billing.WithPlanProSeats(3)) fmt.Println(team, tea2martianov.dev
JJoseph UdomasonOct 17 · 6 min readJavaScript's Event Loop Explained: Why Your Code Doesn't Always Run in OrderYou read a JavaScript function from top to bottom, so you expect its output to follow the same order. Most of the time, that expectation works. Then you encounter a setTimeout(), a promise, or an asyn1joedev001.hashnode.dev
MMikey NicholsOct 16 · 12 min readBorrowing Without the Lecture.Our game has a Player and an Enemy Then, the moment they fight, we strip them back down for parts: enemy.health = attack( enemy.health, player.base_damage, player.bonus_damage, ); We builjourneytocode.io
JJoseph UdomasonOct 12 · 16 min readJavaScript Beyond the Syntax: Understanding the Language and How It Really WorksJavaScript is one of those languages that looks simple when you first meet it. You declare a variable, write a function, add a few event listeners, and suddenly your webpage feels alive. Then the projjoedev001.hashnode.dev
PParsa AftabiOct 10 · 7 min readPostgreSQL Connection Pooling in Go: What I Actually Tune in ProductionIn my last post, lesson 3 was "your database is the bottleneck, not Go" — use pgx, size the pool deliberately. A few of you asked what "deliberately" actually means. Fair question. Here's every pgxpooparsaaftabi.hashnode.dev
PParsa AftabiOct 9 · 6 min read7 Lessons I Learned Building Production APIs in GoTL;DR: After shipping several production systems in Go — coming from PHP/Laravel — these are the eight lessons that actually mattered: boring project structure, context.Context everywhere, fixing the 2Hparsaaftabi.hashnode.dev