HenrikJoreteg / HenrikJoreteg/human-javascript
Incorrect usage of the terms arguments/parameters in chapter 10
- Dominant language
- CSS
- Stars
- 82
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
First off I want to thank you for writing a great book! I've learnt a lot of useful stuff reading it.
In chapter 10 I found a sentence that I think you can approve a bit...
> That function is called with the "arguments," a.k.a. parameters you specified as being dynamic in your routes.
_Arguments_ and _parameters_ really isn't the same thing, although the distinction can be hard to remember. :) [Wikipedia says](https://en.wikipedia.org/wiki/Parameter_%28computer_programming%29)…
> Just as in standard mathematical usage, the argument is thus the actual input passed to a function, procedure, or routine, whereas the parameter is the variable inside the implementation of the subroutine. For example, if one defines the add subroutine as def add(x, y): return x + y, then x, y are parameters, while if this is called as add(2, 3), then 2, 3 are the arguments.
So I think you could get rid of the quotation marks around _arguments_ and the _a.k.a. parameters_ part if you want to be more correct. :)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.