Dictionary Home »
Computer Desktop Encyclopedia » syntactic sugar
syntactic sugar
syntactic sugar definition - computer
Certain coding rules in a programming language that make it easier for a person to write a program. For example, in Perl, the double dot operator is used to create multiple values. Writing ('A' .. 'Z') declares a range of values from "A" to "Z." In many other languages, each value has to be declared individually such as 'A','B','C' etc.
Browse dictionary definitions near syntactic sugar