Syntax and Language Features
COFFEE is a fairly typical curly bracket language and so it would look familiar to any previous user of C/C++, Java, Perl or anything along those lines. The function and object class definitions are closely modelled after those of C++. However, COFFEE is dynamically typed, and so variables are defined with a simple var keyword without any reference to their type. Unlike similar scripting languages such as Squirrel and JavaScript, COFFEE does not use a function keyword to introduce functions, nor does it require a return type or "void" return like C/C++ - the function definition simply begins with the function name.
COFFEE's memory management is handled entirely by a garbage collection process; essentially this means that it looks after itself, and the programmer seldom needs to worry about it. However, it is possible to control the process explicitly when necessary.
3D graphics programming makes extensive use of certain mathematical techniques, notably trigonometry and vector arithmetic. COFFEE is well equipped in this area, with a good set of mathematical functions and a built-in vector datatype.
Read more about this topic: COFFEE (Cinema 4D)
Famous quotes containing the words syntax and, language and/or features:
“Syntax and vocabulary are overwhelming constraintsthe rules that run us. Language is using us to talkwe think were using the language, but language is doing the thinking, were its slavish agents.”
—Harry Mathews (b. 1930)
“What may this mean? Language of Man pronounced
By tongue of brute, and human sense expressed!
The first at least of these I thought denied
To beasts, whom God on their creation-day
Created mute to all articulate sound;
The latter I demur, for in their looks
Much reason, and in their actions, oft appears.”
—John Milton (16081674)
“These, then, will be some of the features of democracy ... it will be, in all likelihood, an agreeable, lawless, particolored commonwealth, dealing with all alike on a footing of equality, whether they be really equal or not.”
—Plato (c. 427347 B.C.)