Comment

Comment by mukunda_johnson

> It’s very similar to thread-local storage. We know how bad of an idea thread-local storage is. Non-flexible, complicates usage, composition, testing.

I kind of do wish we had goroutine local storage though :) Passing down the context of the request everywhere is ugly.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton