Want to find The Jargon File from your own pages? Here's the code! <A HREF="http://www.mkja.com/jargon_file/">The Jargon File</A>
syntactic sugar: n.

[coined by Peter Landin] Features added to a language or other formalism to make it ‘sweeter’ for humans, but which do not affect the expressiveness of the formalism (compare chrome). Used esp. when there is an obvious and trivial translation of the ‘sugar’ feature into other constructs already present in the notation. C's a[i] notation is syntactic sugar for *(a + i). “Syntactic sugar causes cancer of the semicolon.” — Alan Perlis.

The variants syntactic saccharin and syntactic syrup are also recorded. These denote something even more gratuitous, in that syntactic sugar serves a purpose (making something more acceptable to humans), but syntactic saccharin or syrup serve no purpose at all. Compare candygrammar, syntactic salt.



Games | Glossary | Software

Property Auctions | Car Insurance | Japanese Car Imports | Save Money | Alternative Energy | Vegoil | Soho | Humble Guide | Sedum Roofs | Hadrians Wall | Web Publishing | The Beatles | Rickshaws | Eradicate Household Pests | Wolves | Jargon Jokes | Humble Guide to London | Diets and Dieting | Ice Cream