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


When used, the term Syntax Sugar means that you should probably look it up, and see how this thing can be desugared to better understand the topic.

I'm giving you an example:

if (true) {
  let be = 'nice!'

is desugared to:

if (true) (() => {
  var be = 'nice!'

You're welcome!

code of conduct - report abuse