Parameters vs. Arguments

A lot of people have a hard time knowing the difference between an argument and a parameter. Most people just say that they are interchangeable, however some employers are real sticklers about using the correct syntax.

-A parameter is part of the signature.

-Arguments are the values that get passed into the signature

/////////////////////// begin //////////////////

                function awesome (var pram, var ter){


                function totally () {

                        awesome(4, 5);

///////////////////// end /////////////////

The numbers 4 and 5 are the Arguments that get passed into the Parameters of function awesome.

Imagine you live in an apartment complex with a lot of noisy neighbors. You hear shouting coming from the apartment across the hall, “YOU NEVER LISTEN!!” Mrs. Chiva next door is arguing with her husband again. Their sound of their argument is leaving their house and drifting into yours. You sit and listen and analyze the parameters of their discussion and come to the conclusion that Mrs. Chiva’s silly cat escaped again.

Arguments go out, Parameters come in.

This information came from


About spuder
spuder is a "super computer" support engineer by day, and tinkerer / hobbyist by night.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: