top | item 7270784

(no title)

rjbond3rd | 12 years ago

Why?

discuss

order

adnam|12 years ago

Because it would be a nightmare to maintain.

nikic|12 years ago

It'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|12 years ago

Because 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?