Programming Terminology

Function

A function is programming construct that allows us to re-use code. You write a function and give it a name. Functions can generally take input and they generally produce an output. When a function defines it's possible inputs, they are sometimes called "parameters". When other code wants to use the function, we say that it "calls" the function based on it's function name. When we call a function we pass "arguments" which are the inputs that match the parameters.