News for hackers. Stuff that matters.
Re:Mux – A lightweight, fast HTTP request router for Go by creshal on Monday December 05, 2016 @02:18PM (#13108367)
Regexes are the problem, because they're simply the wrong tool for the job.
Re:Mux – A lightweight, fast HTTP request router for Go by aikah on Monday December 05, 2016 @02:59PM (#13108840)
> Regexes are the problem, because they're simply the wrong tool for the job.

for what job? Extracting route variables from paths ?they are the right tool for the job, only in the Go community they are deemed "wrong tool for the job". Your statement embodies everything that is wrong with the Go community. Instead of finding a solution to a problem you guys spend your time shifting the blame on "bad practices".

Re:Mux – A lightweight, fast HTTP request router for Go by rudolf0 on Monday December 05, 2016 @03:43PM (#13109330)
Wouldn't it make more sense to use something faster and simpler for most routing, and then an optional argument for regular expressions? Lots of web frameworks use that approach.