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

Incorrect usage of the terms arguments/parameters in chapter 10 #75

Open
svenheden opened this issue Jul 21, 2015 · 0 comments
Open

Incorrect usage of the terms arguments/parameters in chapter 10 #75

svenheden opened this issue Jul 21, 2015 · 0 comments

Comments

@svenheden
Copy link

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

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. :)

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

1 participant