HomeServicesBlogDictionariesContactSpanish Course
← Back to search

Meaning of syntactic sugar | Babel Free

Noun CEFR B2

Definitions

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.

uncountable

Equivalents

Examples

“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:[]. ᵂᴮ”

CEFR level

B2
Upper Intermediate
This word is part of the CEFR B2 vocabulary — upper intermediate level.

See also

Learn this word in context

See syntactic sugar used in real conversations inside our free language course.

Start Free Course