||This article includes a list of references, related reading or external links, but its sources remain unclear because it lacks inline citations. (October 2013)|
In semiotics, a code is a set of conventions or sub-codes currently in use to communicate meaning. The most common is one's spoken language, but the term can also be used to refer to any narrative form: consider the color scheme of an image (e.g. red for danger), or the rules of a board game (e.g. the military signifiers in chess).
Ferdinand de Saussure (1857–1913) emphasised that signs only acquire meaning and value when they are interpreted in relation to each other. He believed that the relationship between the signifier and the signified was arbitrary. Hence, interpreting signs requires familiarity with the sets of conventions or codes currently in use to communicate meaning.
Roman Jakobson (1896–1982) elaborated the idea that the production and interpretation of texts depends on the existence of codes or conventions for communication. Since the meaning of a sign depends on the code within which it is situated, codes provide a framework within which signs make sense (see Semiosis).
To that extent, codes represent a broad interpretative framework used by both addressers and their addressees to encode and decode the messages. Self-evidently, the most effective communications will result when both creator and interpreter use exactly the same code. Since signs may have many levels of meaning from the denotational to the connotational, the addresser's strategy is to select and combine the signs in ways that limit the range of possible meanings likely to be generated when the message is interpreted. This will be achieved by including metalingual contextual clues, e.g. the nature of the medium, the modality of the medium, the style, e.g. academic, literary, genre fiction, etc., and references to, or invocations of, other codes, e.g. a reader may initially interpret a set of signifiers as a literal representation, but clues may indicate a transformation into a metaphorical or allegorical interpretats diachronically. Distinctions of class or memberships of groups will be determined by the social identity each individual constructs through the way the language is spoken (i.e. with an accent or as a dialect) or written (i.e. in sentences or in SMS format), the place of residence (see Americanisms), the nature of any employment undertaken, the style of dress, and nonverbal behaviour (e.g. through differentiating customs as to the extent of private space, whether and where people may touch or stare at each other, etc.). The process of socialisation is learning to understand the prevailing codes and then deciding which to apply at any given time, i.e. acknowledging that there is sometimes an ideological quality to the coding system, determining levels of social acceptability, reflecting current attitudes and beliefs. This includes regulatory codes that are intended to control behaviour and the use of some signifying codes. The human body is a means of using presentational codes through facial expressions, gestures, and dress. So words spoken may change their connotation to unacceptable if accompanied by inappropriate nonverbal signs.
The other code forms rely upon knowledge held by, and the interests of, the addressees. Specialised denotational codes may provide a more objective and impersonal form of language for mathematical, philosophical, and scientific texts. Hence, for example, the ability to read this text depends upon a more specialised form of vocabulary and different skills to those required to read a genre text detailing the investigations of a detective or the adventures of a secret agent. There are also specialised connotational and ideological codes to reflect particular social, political, moral, and aesthetic values. Musical and iconic codes would be relevant as between a work by Arnold Schoenberg and a piece of bubblegum pop, and a painting by Rembrandt and a comic book by Frank Miller, etc. Each medium has its own specialised codes and, by making them more explicit, semiotics is attempting to explain the practices and conventions have appeared in each form and to understand how meaning is being communicated. In return, this assists addressers to improve their techniques, no matter what their functional needs, e.g. as politicians, journalists, advertisers, creative artists, etc. Indeed, awareness leads to an intentional blending of codes for effect, e.g. an advertiser may produce a more effective campaign with a slogan, images and a jingle using lexical, social gestural, and musical codes.