Skip to content
ontologydriven
Sign out

Dictionary

Words, grammatical forms and meanings linked to the ontology.

syntactic sugar en · NOUN

Pronunciation

Etymology

Attributed to British computer scientist Peter Landin.

Meanings

  1. (uncountable) Additions to the syntax of a programming 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 [1, 2, 3, 4, 5] is exactly equivalent to 1:2:3:4:5:[]. ᵂᴮ

Coordinates

syntactic salt

Deriveds

syntactic salt · syntactic syrup · desugar · desugared · syntactic saccharin

Relateds

pretty-print

Translations (24)

pt açúcar sintático (Translations) · ja 構文糖衣 (Translations) · ar التَّجْمِيل اللُّغَوِيّ (Translations) · nl syntactische suiker (Translations) · uk синтаксичний цукор (Translations) · it zucchero sintattico (Translations) · ru синтакси́ческий са́хар (Translations) · fi syntaktinen sokeri (Translations) · pl lukier składniowy (Translations) · ja 構文糖 (Translations) · pl cukier składniowy (Translations) · cs syntaktický cukr (Translations) · tr sözdizimsel şeker (Translations) · es azúcar sintáctico (Translations) · pl cukier syntaktyczny (Translations) · sv syntaktiskt socker (Translations) · cmn 語法糖 /语法糖 (Translations) · io sintaxala sukro (Translations) · de syntaktischer Zucker (Translations) · ja シンタックス・シュガー (Translations) · fr sucre syntaxique (Translations) · ja 糖衣構文 (Translations) · pl lukier syntaktyczny (Translations) · nb syntaktisk sukker (Translations)