This is done to align with Swift's API Guidelines that state, "Prefer method and function names that make use sites form grammatical English phrases."
The toRoute parameter is always the first or second parameter, which makes it quite important. As the guidelines further state, "It is acceptable for fluency to degrade after the first argument or two when those arguments are not central to the call’s meaning."
There are no functional changes to this PR, just a naming change. Of course this is a breaking change.
@amomchilov Just wanted to flag this PR to you since it's a breaking change. Otherwise this PR isn't interesting and so I'm going to merge it without review.
This is done to align with Swift's API Guidelines that state, "Prefer method and function names that make use sites form grammatical English phrases."
The
toRoute
parameter is always the first or second parameter, which makes it quite important. As the guidelines further state, "It is acceptable for fluency to degrade after the first argument or two when those arguments are not central to the call’s meaning."There are no functional changes to this PR, just a naming change. Of course this is a breaking change.