Abstraction of implementation. This way, if we decide we want to change how we do URLs we only have to change code in one place.

I also wasn't able to remember whether I should quote_plus or unquote_plus in order to make a variable part of the url or to turn a slug into a search query, so it's for convenience too.