Contents |
Array
An ordered group of values, indexed by #Ints. Often the indices are consecutive, and start at zero. Similar to a #hash, with keys that are all Ints, but more efficient because lookup is faster and storage is more compact.
Chapter
A major piece of functionality in a programming language, as displayed in a set of languages that you choose. For instance, #Arrays in PHP and JavaScript.
Declare
to say, in a language, that a certain entity exists. Usually this includes the name, and enough details for the compiler to make use of it, but not enough information to #Define it.
Define
to specify, in a language, all the details of a certain entity so that it can create it.
Feature
A major piece of functionality in a particular programming language. For example, PHP Arrays.
Hash
A dictionary object, a hashtable, an associative array. You give it a character string key and it gives you back a #value stored under that key. A filesystem directory works this way, with filenames as the keys, and the file contents as typically large values. Often integers and other kinds of values can also be used as keys. Like an #array, but more flexible because of the variety of keys.
Int
An integer that's limited to a convenient size, depending on the machine. Usually a 32-bit (±2e9) or 64-bit integer (±6e19).
Primitive
A value that is not shared between variables, despite an assignment. Each variable that refers to it concerns a different instance.
p = 'The fox was gone'; q = a; q[4] = 'b'; q= 'The box was gone' p= 'The fox was gone'
Reference
A compact value that points to a (typically large) data structure. Making changes to a reference affects the target object, which might be shared among other variables.
a = new Animal(); b = a; b.sound = 'woof'; a.sound = 'woof'
Requirement
A major piece of functionality in a programming language, described generally, without making reference to any particular languages. For example, Arrays.
Value
The currency of a programming language. A unit of data. Might be a #Reference or a #Primitive.
![[Main Page]](/cw/skins/common/images/CrossWiseLogo.jpg)