This is not required. And if you really want to put a verb in there, get is about as vague as you can be, since it means so many different things
. Using a verb like get or fetch as part of a function name would make more sense if you retrieve the URL value from somewhere else. In this case, where it is something the function itself calculates, I would just leave it out:
defmodule Team do
def url(team_id) do
...
end
end
Here, it is clear that Team.url(foo) will return an URL based on foo that has to do with a ‘Team’.
Of course, naming things quickly enters the realms of personal preference. It is very easy to spend all afternoon bikeshedding about it. It’s possibly the least important suggestion of all of the suggestions that people have given in this topic
.






















