Zum Hauptinhalt springen
Oopsy Oops von , vor 14 Jahren
array

array is a data structure consisting of a list of elements, each identified by integer indices In most programming languages, an array has the following methods: push() – adds new element to the end pop() – removes the last element unshift() – adds new element to the beginning shift() – removes the first element Between 1957-1967 at the East Campus Commons Cafeteria at MIT had spring loaded stacks of plates which probably inspired to use PUSH and POP terms by the Tech Model Railroad Club which influenced the design of the Digital Equipment Corporation’s (DEC) PDP-6 in 1963. The PDP-6 was one of the first computer to have stack oriented instructions in the hardware. The instructions were PUSH, POP, PUSHJ, POPJ.


Exey Panteleev | CC BY 2.0