DEV Community

Cover image for Does it bother you when programmers use the word "Arguments" and "Parameters" interchangeably ?
Bek Brace
Bek Brace

Posted on

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

Latest comments (37)

Collapse
 
dvddpl profile image
Davide de Paolis • Edited

I never bothered myself in what I am using... Actually I never really paid too much attention to that. I think I use params all the time.
Always considered them kind of the 2 faces of a medal. Does it really make a difference how we call them?

Anyway. Checkbox "today I learned" ticked! Thank you :-)

Collapse
 
ashrafkvt profile image
Ashraf kvt

This one sounds very familiar

Collapse
 
asayerio_techblog profile image
OpenReplay Tech Blog

My own mnemonic: "Parameters are Potential, Arguments are Actual".

Collapse
 
juniordevforlife profile image
Jason F

I am guilty of doing this πŸ˜’

Collapse
 
bekbrace profile image
Bek Brace

Me too, my friend :D

Collapse
 
rollergui profile image
Guilherme

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

Collapse
 
bekbrace profile image
Bek Brace

Great ! And you're not alone with this problem hehe

Collapse
 
flawedvice profile image
Vicente Aranda

I used to get confused a lot when started to learn web dev. I also had problems with HTML attributes and JS properties as I didn't know which meant what πŸ˜…

Collapse
 
zabdeldjallil profile image
Djilou

Nah that's fine am more bothered when a manager tries to debug something and start telling you that it's simple using some obsolete terms

Collapse
 
satyamr123 profile image
Satyam Rajvanshi

No not really

Collapse
 
cyph3r57 profile image
cyph3r57

it doesn't bother me, but sometimes it can generate misunderstandings

Collapse
 
moopet profile image
Ben Sinclair

TIL "_argv" is short for "parameter value". Got it.

Collapse
 
grahammorby profile image
Graham Morby

Not really - you should hear some of the names I've heard for curly braces

Collapse
 
bekbrace profile image
Bek Brace

that's a cool one, Nate ! :D

Collapse
 
lionelrowe profile image
lionel-rowe

Is there ever a situation where there would be meaningful ambiguity between which one was meant? If not, why should it bother anyone?

Collapse
 
bekbrace profile image
Bek Brace

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!

Collapse
 
jsn1nj4 profile image
Elliot Derhay

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.

Collapse
 
zperk13 profile image
Zachary Perkins

Wait... they're not synonymous?

Some comments may only be visible to logged-in visitors. Sign in to view all comments.