Archived

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

alpha44

What is "syntactic sugar" ?!

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