6 ms·
Why?
by rjbond3rd 13y ago
Why?
- adnam 13y agoBecause it would be a nightmare to maintain.
- nikic 13y agoIt's not like you're writing the regular expressions and lookup tables per hand. You write the routes in whatever format you deem nice and it's automatically translated from there ;)
- rjbond3rd 13y agoBecause of regular expressions? I've seen a few frameworks do routing that way and it seemed clean to me. Are you saying nightmare because regexes are nightmarish, or something?