syntactic sugar

Hello, you have come here looking for the meaning of the word syntactic sugar. In DICTIOUS you will not only get to know all the dictionary meanings for the word syntactic sugar, but we will also tell you about its etymology, its characteristics and you will know how to say syntactic sugar in singular and plural. Everything you need to know about the word syntactic sugar you have here. The definition of the word syntactic sugar will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofsyntactic sugar, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

English

Etymology

Attributed to British computer scientist Peter Landin.

Noun

syntactic sugar (uncountable)

  1. (computing) Additions to the syntax of a computer language that make code easier for humans to read or write, but that do not change the functionality or expressiveness of the language.
    In fact, this is how lists are actually built, by consing all elements to the empty list, . The commas-and-brackets notation is just syntactic sugar, a more pleasant way to write code. So is exactly equivalent to 1:2:3:4:5:. WB

Antonyms

Derived terms

Translations

See also

Further reading