Hacker Slang:

syntactic sugar

[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.


 
 
 

Join the WikiAnswers Q&A community. Post a question or answer questions about "syntactic sugar" at WikiAnswers.

 

Copyrights:

Hacker Slang. The Jargon File. Copyright © 2007.  Read more

Search for answers directly from your browser with the FREE Answers.com Toolbar!  
Click here to download now. 

Get Answers your way! Check out all our free tools and products.

On this page:   E-mail   print Print  Link  

 

Keep Reading

Mentioned In: