DEV Community

Discussion on: Does it bother you when programmers use the word "Arguments" and "Parameters" interchangeably ?

Collapse
 
ben profile image
Ben Halpern

I don't think I've ever been bothered by this, but sometimes a statement like this can trigger more awareness πŸ˜….

I think I generally use the two words correctly, but I don't give it much thought and could easily have used them synonymously at times.

For anybody who doesn't know the difference:

- Function parameters are the names listed in the function's definition.
- Function arguments are the real values passed to the function.
- Parameters are initialized to the values of the arguments supplied.
Enter fullscreen mode Exit fullscreen mode

Remember, it's okay to be annoyed β€” but don't be a jerk about it if you need to correct someone.

Collapse
 
bekbrace profile image
Bek Brace • Edited

I myself use them interchangeably although I know it's wrong :D, however I try to be very careful when I'm doing my YouTube tutorial videos, I try to be as accurate as I can.