Codish Lexicon

One word for one meaning, One meaning for one word,
Symmetric opposites, Comprehensive classes.
A dictionary of computer programming names.

vector — a direction (in a particular number of dimensions) and a scalar value.   classes: velocity, acceleration, force   distinct: linear ordered collection or array   is: graphic

scalar — pertains to 1-dimensional, non-negative values.   related: linear, planar, spatial, temporal   perl: force a scalar context   aka: planar   mentioned: hash, lapse, vector

valuedata of any class.   see: def, variable   aka: datum   related: dict

array — an ordered linear collection implementation that employs a region of contiguous memory where each value is stored at an index offset from the beginning of the memory region.   a linear collection that provides fast random access and iteration to its values with get, set, and iter.   php: create an array &dagger.   related: chain   interface: linear collection, ordered

plot — a graphic that shows points, lines, or surfaces with number values in relationship to their respective dimension axis.   is: chart   is: graphic

chart — a graphic representation of data.   includes: plot, histogram, pie chart, bar chart, line chart   distinct: graph   related: diagram   classes: flow chart, plot   is: graphic

image — a copy of a region of memory, particularly but not necessarily a bitmap graphic.   distinct: graphic, picture

fps — of animated graphics, frames per second.   of games, first person shooter.   is: game

render — to generate a graphic with an algorithm.   related: format   see: format

cardinal — having a range that excludes zero.   a number that indicates a quantity.   related: nominal, ordinal   pertains to directions that are parallel with an axis.   includes: n, s, w, e   aka: cardinality   mentioned: intercardinal

intercardinal — pertains to directions that are half way between a cardinal direction and the neighboring ordinal direction.   includes: nne, ene, ese, sse, ssw, wsw, wnw, nnw   aka: subsubcardinal

ordinal — having a range that includes zero.   a number that indicates a position (a cursor) by way of its index from zero.   related: cardinal, nominal   pertains to directions that are half way between two cardinal directions.   includes: nw, ne, sw, se   related: cardinal   aka: subcardinal   mentioned: enumerate, intercardinal, second

x — the first dimension.   the horizontal exist.   is: dimension   an abbreviation for executable.   mentioned: atan, atan2, tan

y — the second dimension.   the vertical axis.   seuss: a suffix that connotes that a function applies to multiple elements instead of a single element from a collection.   is: dimension   perl: [string]: transliterate a string; see: [map] and [zip]   mentioned: atan, atan2, pishy, poshy, slice, tan, vowel

z — the third dimension.   the depth axis.   is: dimension

meat space — a multi-dimensional region in which meat exists.   mentioned: radix32

origin — a point where the value on every dimension is zero.   mentioned: atan, atan2, axis

ragged — pertains to multi-dimensional collections where one collection contains sub-collections of varying lengths.   opposite: uniform   distinct: even   aka: jagged   mentioned: matrix

transpose — to return a 2 dimensional collection where each row corresponds to the col of another 2 dimensional collection.   related: zip   aka: unzip   inverse: transpose

transpose([[1, 2, 3], [4, 5, 6]]) eq [[1, 4], [2, 5], [3, 6]]

transpose([[1, 2, 3], [4, 5]]) eq [[1, 4], [2, 5]]

transpose([[1, 2], [4, 5, 6]]) eq [[1, 4], [2, 5]]

pythonic idiom: items = [(0, 'a'), (1, 'b')]
numbers, letters = zip(*items)

uniform — having the same length in all dimensions.   opposite: ragged

neg — arithmetic negation.   number: mul -1.   integer: returns the two's complement, which means to not2 then add 1.   distinct: not, not2, negative   related: abs, negative   mentioned: scalar, signed

hash — to produce a deterministic or consistent scalar value from an object for the purpose of fast storage and retrieval in a hash array for unordered linear collections like dict and bag. ideally, a hash is often a psuedo random number produced by seeding a random number generator with numeric data intrinsic to the object in question.   perl: the perl %hash type is a dict, in codish parlance.   python: hash(object) -> integer Return a hash value for the object. Two objects with the same value have the same hash value. The reverse is not necessarily true, but likely.   php: generate a hash value (message digest) &dagger.   aka: hash function

lapse — the difference between two moments in time.   a scalar quantity of time.   related: moment   related: duration, period   aka: timedelta

def — to define; to put a local variable in the current scope of a context.   aka: value   distinct: var

dict — an unordered linear collection (particularly a set) of items that expresses a relation of keys (domain) to values (range).   in systems where dict inherits bag, it overrides the hash and eq attr functions.   is: collection, bag   attrs: keys, values, items, update, complete   related: item, key, value   distinct: object   perl: hash   seuss: a saque of items.   python: dict() -> new empty dictionary.; dict(mapping) -> new dictionary initialized from a mapping object's (key, value) pairs.

data — a collection of meaningful values in memory.   singular: datum   mentioned: atom, atomic, closure, compound, load, message, record, struct, structure

class — a group of interchangeable objects they explicitly inherit a common base class.   distinct: type, duck, interface   distinct: group   aka: content type, instance, record, struct, structure, type

adjust — to move a value either up or down in a bag based on its value and the comparison function of the bag.   related: priority

attr — an attribute of an object.   a setable and getable value associated with a symbol or name in an object.   in some languages, attributes are either private, protected, or public.   distinct: item   python: property   c++: member   aka: member, property   related: pair

axis — a line that passes through an origin, passes through every value in one dimension, and is orthogonal with all others.   mentioned: atan, atan2, cardinal, plot

back — pertains to the previous value.   opposite: forward   related: prev   opposite: fore

begins — returns whether an ordered linear collection, like a string, begins with the same values in another ordered collection.   python: startswith   aka: starts with   opposite: ends   aka: startswith   related: end   pertains: ordered

next

blog comments powered by Disqus