Primatives

[[ Language design ]] choice that is fundamental to establishing the mental model

Can be anything: scheme picture language, vectors, matrices objects.

Can be multiple, but often there is a set of primary datatypes. Some languages only have one and the result is a striking mental model for how to solve problems.

Maybe primitive is the wrong word.

[[ JavaScript ]]: objects

[[ Lisp ]]: lists

[[ Clojure ]]: seqs, maps

Picture language (from SICP): pictures

APL/ [[ K ]]/ [[ J ]]: matrices

[[ C ]]: Pointer, address in memory

[[ C++ ]]: references

[[ Rust ]]: ?

[[ Python ]]: ?

[[ Prolog ]]: Facts

[[ Music ]]: a note ?

Notes mentioning this note

There are no notes linking to this note.