Named Parameter - Order of Parameters

Order of Parameters

In languages without named parameters, the order of parameters is necessarily fixed, since it is the only thing that the language can use to identify which value is intended to be used for which purpose.

With named parameters, it is usually possible to provide the values in any arbitrary order, since the name attached to each value identifies its purpose. A few languages such as Objective-C use names but require the parameters to be provided in a specific order.

Read more about this topic:  Named Parameter

Famous quotes containing the words order of, order and/or parameters:

    This is one of the worst speeches I’ve ever seen. No one will listen except the Mobil P.R. man. List what we want to say M arrange items in order of priority M then say them plainly and bluntly.... Hit hard and early. Don’t apologize or evade tough issues.
    Jimmy Carter (James Earl Carter, Jr.)

    I have been in the editorial business going on fourteen years, and it is the first time I ever heard of a man’s having to know anything in order to edit a newspaper.
    Mark Twain [Samuel Langhorne Clemens] (1835–1910)

    Men have defined the parameters of every subject. All feminist arguments, however radical in intent or consequence, are with or against assertions or premises implicit in the male system, which is made credible or authentic by the power of men to name.
    Andrea Dworkin (b. 1946)