Concepts of the Jade Language
The Jade language is the programming language in which Jade methods are written.
You can write external methods using other programming languages (for example, Pascal or C++), but Jade is the language of choice, for the following reasons.
-
It has a simple, regular syntax
-
It provides seamless access to the Jade Object Manager and user-interface components
-
It includes specialized constructs for exploiting some of the more-powerful features of the Jade environment
In Jade, procedural-style control structures and arithmetic expressions are combined with object-oriented message-passing syntax. Message-passing uses a "." (dot) notation.
Jade is a strongly typed language, in which you must explicitly state the type of each identifier. When instructions refer to methods or properties, the compiler checks that the method or property has been defined for the corresponding objects. This strong typing provides the following benefits.
-
Reduced risk of runtime errors due to invalid methods being invoked
-
Early error detection
The Jade language syntax makes no distinction between transient and persistent objects. The same syntax is used for creating, maintaining, and deleting transient and persistent objects.
Methods can be invoked for transient objects in the same way as they can for persistent objects.