Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Because it would be a nightmare to maintain.


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 ;)


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?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: