For further actions, you may consider blocking this person and/or reporting abuse
Read next
The Mobile App Development Process: How to Create Successful Applications in 2024
Birdmorning Solutions Pvt. Ltd -
๐ Black Friday Deal Ending Today: Lifetime Access for Just $20 / โน1600!
Yogesh Chavan -
A Complete Step-by-Step Guide to Mobile App Performance Testing
Steve Wortham -
3d Cards matching game using html css and javascript follow us on instagram: https://www.instagram.com/webstreet_code/
Prince -
Top comments (37)
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:
Remember, it's okay to be annoyed โ but don't be a jerk about it if you need to correct someone.
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.
In general, no.
If the discussion topic is important to talk distinctly about arguments (provided by the caller) and parameters (as expected by the function) then it's important to mind the Ps and Qs.
Mnemonic: parameters are like parking spots; arguments are like automobiles.
a very cool analogy :D
I'm in the same boat, 99% percent of the time, we know what we're talking about anyways and most sentences you can make will actually be true for both arguments and parameters.
Not at all. Because it ultimately doesn't matter, unless we're talking about specifics of which side we're talking about.
Does it matter if you're working with arguments in the function, or passing parameters to the function? No. It matters when the distinction matters. It matters when discussing, f.e. pass-by-value in languages where non-scalars are implicitly passing references (and even then, does it really matter?).
totally true!
Is there ever a situation where there would be meaningful ambiguity between which one was meant? If not, why should it bother anyone?
I use both terms interchangeably, and i feel dumb sometimes for doing that :D but after a while, i found out that it's not important at all as long as the code is working!
Is it params of a function signature and args for a function call? I write a lot of docs that's the only place it bothers me otherwise I don't mind
"params of a function signature and args for a function call" - Thanks Adam, I'll memorize that :D
I'm sure there's some way to make it more memorable ๐
I can get like that, although I try to keep it to myself and just use the correct terms when I'm talking about them. It's easy to forget this is just one of the many small things everyone needs to learn eventually, like literally every other concept and term.
this thought always hits me when I say one of them, thinking if it should be the other one haha but thanks to this discussion, I've learned the correct definition.. Now maybe I won't get it wrong so much
Great ! And you're not alone with this problem hehe
Not really because I make the same mistake sometimes ๐
same here :D
No doesnโt bother me at all because if you say either argument or parameter another developer is gonna know what youโre talking about haha
Not as much as people mixing up attributes and properties.
Some comments may only be visible to logged-in visitors. Sign in to view all comments.