Apply - Programming - Apply Function

Apply Function

Apply is also the name of a special function in many languages, which takes a function and a list, and uses the list as the function's own argument list, as if the function were called with the elements of the list as the arguments. This is important in languages with variadic functions, because this is the only way to call a function with an indeterminate (at compile time) number of arguments.

Read more about this topic:  Apply, Programming

Famous quotes containing the words apply and/or function:

    When a bachelor of philosophy from the Antilles refuses to apply for certification as a teacher on the grounds of his color I say that philosophy has never saved anyone. When someone else strives and strains to prove to me that black men are as intelligent as white men I say that intelligence has never saved anyone: and that is true, for, if philosophy and intelligence are invoked to proclaim the equality of men, they have also been employed to justify the extermination of men.
    Frantz Fanon (1925–1961)

    We are thus able to distinguish thinking as the function which is to a large extent linguistic.
    Benjamin Lee Whorf (1897–1934)