News for hackers. Stuff that matters.
Re:Better HTTP server routing in Go 1.22 by silasdavis on Monday October 16, 2023 @01:41PM (#37903413)
I'm inclined to suggest the typescript could make compile errors of ambiguous routes, though I don't see any obvious reasons way without an explicitly referenced agreggate type for existing routes. So perhaps not if routes are initialised implicitly like this.

Template type strings with inference would also allow you to parse the strings in the type system.

I cannot imagine wanting to build my routes table implicitly through import graph rather than having a specific place to aggregate.

There are no comments on this comment yet.