News for hackers. Stuff that matters.
Re:Better HTTP server routing in Go 1.22 by greiskul on Monday October 16, 2023 @02:27PM (#37904019)
This work, the panic is only triggered when the precedence rules can't fix a conflict.

The behaviour documented here is actually extremely sensible and is best practices for anyone calling themselves a software engineer. Fail as early as possible, with as clear a message as possible.

Re:Better HTTP server routing in Go 1.22 by the_gipsy on Monday October 16, 2023 @06:20PM (#37907464)
But there is a precedence to pick for the panic case too.