Purpose
Like most scripting languages, COFFEE is used to extend or modify the functionality of the host software. This technique is preferable to writing a so-called plug-in module using a traditional language such as C for a number of reasons, among them:
- The scripting language implicitly handles memory management on the user's behalf, where C does not;
- The language interpreter does not require programs to be compiled as a separate step before they can be used;
- A purpose-built scripting language can be tailored so that it lends itself to its intended usage. For example, COFFEE has built-in mathematical functions that are necessary for 3D graphics programming.
There are several different aspects of CINEMA 4D's operation that can be customised using COFFEE scripts, notably additions to the user interface and extensions for reading and writing new file formats and creating texture shaders. Almost all the main functionality of the application can be accessed from a COFFEE program, and so customised features can look and behave much like those supplied as standard.
Read more about this topic: COFFEE (Cinema 4D)
Famous quotes containing the word purpose:
“In criticism I will be bold, and as sternly, absolutely just with friend and foe. From this purpose nothing shall turn me.”
—Edgar Allan Poe (18091845)
“And the purpose of the many stops and starts will be made clear:
Backing into the old affair of not wanting to grow
Into the night, which becomes a house, a parting of the ways
Taking us far into sleep. A dumb love.”
—John Ashbery (b. 1927)
“No further evidence is needed to show that mental illness is not the name of a biological condition whose nature awaits to be elucidated, but is the name of a concept whose purpose is to obscure the obvious.”
—Thomas Szasz (b. 1920)