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:
“Civilization is a process in the service of Eros, whose purpose is to combine single human individuals, and after that families, then races, peoples and nations, into one great unity, the unity of mankind. Why this has to happen, we do not know; the work of Eros is precisely this.”
—Sigmund Freud (18561939)
“Some of my friends spoke as if I was coming to the woods on purpose to freeze myself.”
—Henry David Thoreau (18171862)
“God sent children for another purpose than merely to keep up the raceto enlarge our hears; and to make us unselfish and full of kindly sympathies and affections; to give our souls higher aims; to call out all our faculties to extended enterprise and exertion; and to bring round our firesides bright faces, happy smiles, and loving, tender hearts.”
—Mary Botham Howitt (20th century)