Codish Lexicon
One word for one meaning, One meaning for one word,
Symmetric opposites, Comprehensive classes.
A dictionary of computer programming names.
acceleration — is: vector ✍
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 ✍
dimension — classes: x, y, z mentioned: linear, meat space, origin, planar, plane, plot, ragged, scalar, transpose, uniform, vector ✍
scalar — pertains to 1-dimensional, non-negative values. related: linear, planar, spatial, temporal perl: force a scalar context† aka: planar mentioned: hash, lapse, vector ✍
linear — having 1 dimension. an array is a linear collection. related: scalar, planar, spatial, temporal aka: planar ✍
ordered — pertains to collections that maintain the respective order of their contents. interfaces: list, queue, deque, stack attrs: push, pop, shift, unshift, first, last, begins, ends, trim left, trim right, rot left, rot right, chip, chop, erase implementations: array, chain related: sorted, unordered related: iterable ✍
| left | right |
|---|---|
| unshift | push |
| shift | pop |
| first | last |
| begins | ends |
| trim left | trim right |
| rot left | rot right |
| chip | chop |
collection — a class of compound objects that contain and organize values. attrs: len, has, get, set, reset, getset, put, del, cut, insert, remove, discard, empty, erase classes: linear collection, planar collection, spatial collection seuss: que classes: dict related: compound ✍
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 ✍
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 ✍
meat space — a multi-dimensional region in which meat exists. mentioned: radix32 ✍
planar — pertains to objects that have 2 dimensions. see: scalar, linear, spatial, temporal related: linear, plane, scalar mentioned: height, matrix, skew, table, width ✍
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)
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)
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()
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 ✍
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 ✍
©2009 Kris Kowal
Codish Lexicon by Kris Kowal is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 United States License.
