early 14c., "action of defending," shortening of defens (see defense). Spelling alternated between -c- and -s- in Middle English. Sense of "enclosure" is first recorded mid-15c. on notion of "that which serves as a defense." Sense of "dealer in stolen goods" is thieves' slang, first attested c.1700, from notion of such transactions taking place under defense of secrecy. To be figuratively on the fence "uncommitted" is from 1828, perhaps from the notion of spectators at a fight, or a simple literal image: "A man sitting on the top of a fence, can jump down on either side with equal facility." [Bartlett, "Dictionary of Americanisms," 1848].
A person or place that deals in stolen goods: but even big fences like Alphonso can get stuck/ The loot had disappeared and been handled by a fence (1700+)
verb: The clown that stole the Mona Lisa found it hard to fence (1610+)
Related Termsgo for the fences, on the fence
[all senses are shortenings of defence; in the case of criminal act, the notion is probably that of a secure place and trusty person, well defended]
1. A sequence of one or more distinguished (out-of-band) characters (or other data items), used to delimit a piece of data intended to be treated as a unit (the computer-science literature calls this a "sentinel"). The NUL (ASCII 0000000) character that terminates strings in C is a fence. Hex FF is also (though slightly less frequently) used this way. See zigamorph.
2. An extra data value inserted in an array or other data structure in order to allow some normal test on the array's contents also to function as a termination test. For example, a highly optimised routine for finding a value in an array might artificially place a copy of the value to be searched for after the last slot of the array, thus allowing the main search loop to search for the value without having to check at each pass whether the end of the array had been reached.
3. [among users of optimising compilers] Any technique, usually exploiting knowledge about the compiler, that blocks certain optimisations. Used when explicit mechanisms are not available or are overkill. Typically a hack: "I call a dummy procedure there to force a flush of the optimiser's register-colouring info" can be expressed by the shorter "That's a fence procedure".
[Jargon File]
(1999-01-08)
(Heb. gader), Num. 22:24 (R.V.). Fences were constructions of unmortared stones, to protect gardens, vineyards, sheepfolds, etc. From various causes they were apt to bulge out and fall (Ps. 62:3). In Ps. 80:12, R.V. (see Isa. 5:5), the psalmist says, "Why hast thou broken down her fences?" Serpents delight to lurk in the crevices of such fences (Eccl. 10:8; comp. Amos 5:19).