Re:Better HTTP server routing in Go 1.22
by cowl on Monday October 16, 2023 @07:25PM
(#37908068)
> I've (ab)used the behavior of "first to be matched wins" a ton in my career
Even if the framework could guarantee the order of registration, this source-order heuristic is easy when you work alone or in a small team. Good luck guaranteeing order of routes in a large project with many teams.
Actually forcing you to not depend on things that can cause hidden bugs is a good design decision.
Even if the framework could guarantee the order of registration, this source-order heuristic is easy when you work alone or in a small team. Good luck guaranteeing order of routes in a large project with many teams.
Actually forcing you to not depend on things that can cause hidden bugs is a good design decision.