Hardcoding URLs like /user/profile across 20 Blade files is painful if you ever rename the URL later. Giving a route a ->name(...) lets you generate links with route('profile.show')—so changing the URL in one place updates your entire app automatically.
ADVERTISEMENT