Syntactic Sugar

22 Nov 2010. comments

From wikipedia, Syntactic Sugar is defined as:

In computer science, syntactic sugar is syntax within a programming language that is designed to make things easier to read or to express. It makes the language “sweeter” for human use: things can be expressed more clearly, more concisely, or in an alternative style that some may prefer.

This is one of my favorite quotes responding to criticism about syntactic sugar in modern programming languages:

“There has been a tendency to dismiss all the new features of C# as ‘syntactic sugar’. If you think this is another example, then I guess you probably feel the same way about assembly language, and feel that there haven’t really been any significant coding innovations since the front panel with toggle switches.”

Source: IanG Blog

comments

Tagged: computing history C# syntax abstraction

2017 Ben Lakey

The words here do not reflect those of my employer.