Re:Better HTTP server routing in Go 1.22
by unchar1 on Monday October 16, 2023 @05:41PM
(#37907051)
Typescript's type system is known to be turing complete and people have implemented things such as sorting/tree-walking just using types (i.e. during compile time) [1].
I'd imagine something like this should be possible as well, but I'm not sure it would be worth it, considering the effort it would take to implement.
I'd imagine something like this should be possible as well, but I'm not sure it would be worth it, considering the effort it would take to implement.
[1]: https://twitter.com/anuraghazru/status/1511776290487279616