/pä-räm/
noun — “a named expectation that shapes how a function behaves before it ever runs.”
Param is shorthand for parameter, a fundamental concept in programming that describes a named input accepted by a function, procedure, or method. A parameter defines what kind of information a function expects in order to perform its task, acting as a placeholder that is filled when the function is actually called.
In most programming systems, a function is defined with parameters, and later invoked with corresponding values known as arguments. This separation allows reusable logic: the same function can operate on different inputs without being rewritten each time. A parameter is therefore not a value itself, but a structured promise that a value will arrive later.
The term param is often used in informal technical speech and code comments, especially in environments where brevity matters. It exists alongside related shorthand forms such as parm, which is a more compressed variant seen in certain legacy systems and IBM-influenced contexts.
Conceptually, param sits between definition and execution. It is part of the function’s interface—the contract that determines how external inputs shape internal behavior. Without parameters, functions would be static and inflexible, repeating identical behavior regardless of context.
In practice, param might appear like:
// JavaScript function with parameters
function greet(name, timeOfDay) {
return "Good " + timeOfDay + ", " + name;
}
greet("Alice", "morning");
// Python equivalent
def greet(name, time_of_day):
return f"Good {time_of_day}, {name}"Over time, the idea of parameters has expanded beyond simple function inputs. Modern programming uses them in APIs, configuration systems, command-line tools, query builders, and even distributed services where parameters define behavior across networks. In all cases, the core idea remains the same: parameters shape execution without being the execution itself.
Linguistically, param belongs to a family of compressed programming terms that favor speed and clarity in conversation. It exists naturally alongside arg (arguments) and var (variables), forming a kind of informal shorthand triangle used heavily in debugging discussions, code reviews, and architectural design conversations.
One subtle but important distinction is that parameters exist in the definition of a function, while arguments exist in the call. This distinction is often blurred in casual speech, but it matters deeply in understanding how data flows through programs.
See also parm.