Peephole | Modern architecture Cranny allows optimization Pattern matching algorithm |
P
attern matching is used to check that things possess a desired structure, to discover relevant organization, to retrieve aligning parts, and to substitute a matching element with something else. It seems to me that this is some of what goes on as photographic selection and composition decisions are made. Of course broadly considered, pattern is a principle used in art to direct the eye around a picture plane. Repetition attracts attention.
“In symbolic programming languages, it is easy to have patterns as arguments to functions or as elements of data structures. A consequence of this is the ability to use patterns to declaratively make statements about pieces of data and to flexibly instruct functions how to operate.” - Wikipedia


