Archived

This topic is now archived and is closed to further replies.

What is "syntactic sugar" ?!

This topic is 4955 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have encountered this phrase "syntactic sugar" in .net framework help. I searched for it in help but nothing came up. So is this a technical term or some sort of slang/jargon? Thanks in advance.

Share this post


Link to post
Share on other sites
Slang/jargon. It refers to something that appears to be a distinct feature but is really no different from an existing feature dressed up to look nicer. For instance, in C++ operator overloading might be considered syntactic sugar since the same functionality could easily be achieved using simple functions.

Share this post


Link to post
Share on other sites