Inline Function - Analogs in Other Languages

Analogs in Other Languages

In the Ada programming language, there exists a pragma for inline functions. Most other languages, including Java and functional languages, do not provide language constructs for inline functions, but often do perform aggressive inline expansion.

Functions in Common Lisp may be defined as inline as such:

(declaim (inline dispatch)) (defun dispatch (x) (funcall (get (car x) 'dispatch) x))

Read more about this topic:  Inline Function

Famous quotes containing the word languages:

    The trouble with foreign languages is, you have to think before your speak.
    Swedish proverb, trans. by Verne Moberg.