loading...

re: Sh*tpost: can we stop saying "syntactic sugar"? VIEW POST

TOP OF THREAD FULL DISCUSSION
re: I'm a huge fan of syntactic sugar in C# - but its always there. In JavaScript, support is dependent on the environment unless you transpile and pol...
 

If I recall correctly, the C# language spec or some of Microsoft's engineers made the property syntax above as a means by which to entice VB programmers to start using the language. This was "sugar" for get_Property() and set_Property(string value) respectively, a common naming convention in Java for functions that represent properties. Great article by the way and I appreciate the positive vibes.

Code of Conduct Report abuse