We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The idea is to avoid code like this one…
-module my_server. % …exports and everything else… start_link(AParam) -> gen_server:start_link(?MODULE, [AParam], []). init([AParam]) -> …
See this thread in the forums
Use maps, tuples, or… if you need to ignore the parameter at all, use an atom like undefined or no_argument.
undefined
no_argument
The text was updated successfully, but these errors were encountered:
Should this be a default rule?
Sorry, something went wrong.
If I'm the one with the final vote, I say yes!! But what do you think?
I'm Ok with that. I think it's otherwise misleading, too.
No branches or pull requests
Name
No Init Lists
Brief Description
The idea is to avoid code like this one…
Reasoning
See this thread in the forums
Refactoring Proposal
Use maps, tuples, or… if you need to ignore the parameter at all, use an atom like
undefined
orno_argument
.The text was updated successfully, but these errors were encountered: