The code paradigm in biological and social sciences arises to Aristotle. For conscious activity, Aristotle introduced the notion of reflexive self-awareness in sense perception. This reflexive process generates the codes that signify sensual perceptive events and constrain human behavior. Coding systems grow via the generation of hypertextual statements reflecting new meanings in the process defined by Marcello Barbieri as a codepoiesis. It results in the establishment of higher-level codes (metacodes) forming the semiotic screen that has a nature of the set of perceived objects internalized by the conscious subject in encoding the symbolic actions. The characteristic feature of the semiotic screen consists in its property of being shared between the communicating agents. A sufficient complexity of nervous system, through the appearance of mirror neurons that are fired both when a subject executes certain action and when he observes another subject performing a similar action, represents a prerequisite for the emergence of reflexive codes in evolution. The codes appearing as a result of reflexive awareness and establishing different sociotypes, span from the symbolic systems of art and music through the common language to the formal language of logic and mathematics. Social dynamics is based on the implementation of reflexive coding activity and results in the growth and decay of social systems and civilizations.