-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Changed incorrect instances of 'arguments' to 'parameters' #378
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
Conversation
|
👍 |
|
You should also update the names of related links. |
|
Gotcha, I'll look into that shortly and update the PR later on. |
4d6bce4 to
7af4882
Compare
|
Links are all set @bbatsov. Also amended some that I missed. All incorrect instances are accountable now. |
|
Any idea when you will be merging? No immediate rush, just wanted to understand your merging process. |
README.md
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not sure about this - parameters are just names and you can really modify them. You can only modify the actual arguments.
7af4882 to
cf0d2be
Compare
|
I changed those two instances that didn't make sense back to |
Changed incorrect instances of 'arguments' to 'parameters'
|
👍 |
Change inside of method (related #378)
Changed incorrect instances of 'arguments' to 'parameters'
Change inside of method (related rubocop#378)
Changed incorrect instances of 'arguments' to 'parameters'
Change inside of method (related rubocop#378)
When writing a method's signature (declaring the method), the values being passed to a method are called
parameters, notarguments. When calling a method, the values passed to the call are formally known asarguments. This is a general misnomer in the programming community. I've corrected all relevant instances.Example of parameters:
Example of arguments: