Live briefing
Everything about Default argument
Parameter in a function with a default value
In computer programming, a default argument is an argument to a function that a programmer is not required to specify. In most programming languages, functions may take one or more arguments. Usually, each argument must be specified in full. Later languages allow the programmer to specify default arguments that always have a value, even if one is not specified when calling the function. Wikipedia ā
š§ Start here: a 6-step reading path
- Read the overview: Default argumentA 5-minute orientation
- Pick up a classic book: Apache CookbookThe most-reprinted book on the subject
- Read the landmark paper: āAlive by defaultā: An exploration of Vellemanās unfair burdens argument against state sanctioned euthanasiaCited 4 times
- Go sideways: C++11A closely related topic
- Go sideways: C++ syntaxA closely related topic
š Definitions
No dictionary entry for this exact phrase.
šļø The subject at a glance
š Landmark papers (most cited)
š Books worth reading
Apache CookbookKen Coar, Rich Bowen Ā· 2003
Eloquent JavascriptMarijn Haverbeke Ā· 2009
The society of mindMarvin Minsky Ā· 1986
Learning PHP, MySQL & JavaScriptRobin Nixon Ā· 2009
Mental realityGalen Strawson Ā· 1994
Automate the Boring Stuff with PythonAl Sweigart Ā· 2015
PHP for the World Wide WebLarry Ullman Ā· 2001
Introduction to Computing Using PythonLjubomir Perkovic Ā· 2011
Ranked by number of editions on Open Library, a rough measure of how lasting a book is.
š Related topics
- C++11 C++11 is a version of a joint technical standard, ISO/IEC 14882, by the International Organization for Standardization (ISO) and International Electrotechnicalā¦
- C++ syntax The syntax of C++ is the set of rules defining how a C++ program is written and compiled. C++ syntax is largely inherited from the syntax of its ancestorā¦
- Variadic template In computer programming, variadic templates or variation generics are templates that take a variable number of type parameters. They exist in several programminā¦
- Constructor (object-oriented programming) In class-based, object-oriented programming, a constructor (abbreviation: ctor) is a special type of function called to create an object. It prepares theā¦
- Template (C++) Templates are a feature of the C++ programming language that allow functions and classes to operate with generic types. This allows a function or classā¦
- This (computer programming) this, self, and Me are keywords used in some computer programming languages to refer to the object, class, or other entity which the currently runningā¦
- Function object In computer programming, a function object is a construct allowing an object to be invoked or called as if it were an ordinary function, usually with theā¦
- Callback (computer programming) In computer programming, a callback is a programming pattern in which a function reference is passed from one context (consumer) to another (provider)ā¦