Skip to content
New issue

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

Use "parameter", not "argument", in Lambda type #73

Open
showell opened this issue Nov 17, 2019 · 1 comment
Open

Use "parameter", not "argument", in Lambda type #73

showell opened this issue Nov 17, 2019 · 1 comment

Comments

@showell
Copy link

showell commented Nov 17, 2019

Technically an argument is what you pass in, and the parameter defines the var in the function definition. I know people use these as synonyms, but it might make some code cleaner when you can distinguish parameter names (i.e. Lambda) from args (i.e. Call).

@Janiczek
Copy link
Contributor

I believe it can be argued both ways. "type of the argument", "argument type" are what's meant in the current code. If we use "type argument", that's wrong for sure. But lambdas have arguments, not parameters.

I'll mull it over during the weekend! :)
@showell Feel free to add specific places in the code where you believe the proposed change would add clarity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants