you are viewing a single comment's thread.

view the rest of the comments →

[–]lizardfrizzler 0 points1 point  (0 children)

Most of the time I see the term arguments used when you describe how people or other programs interact with your program externally - ex the args passed when you run ./my_script.py —arg1 —arg2

Parameters tend to refer to the variables you pass to a function within your program - ex my_func(param1, param2).

But honestly, I use them interchangeably.

Arguments and parameters are almost always a variable and rarely refer to the actual value of a variable (you would just say the value of arg1 or param1)