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:

    The principles of the good society call for a concern with an order of being—which cannot be proved existentially to the sense organs—where it matters supremely that the human person is inviolable, that reason shall regulate the will, that truth shall prevail over error.
    Walter Lippmann (1889–1974)

    To attempt the destruction of our passions is the height of folly. What a noble aim is that of the zealot who tortures himself like a madman in order to desire nothing, love nothing, feel nothing, and who, if he succeeded, would end up a complete monster!
    Denis Diderot (1713–1784)

    What our children have to fear is not the cars on the highways of tomorrow but our own pleasure in calculating the most elegant parameters of their deaths.
    —J.G. (James Graham)