Most voted "syntactic-sugar" questions
Syntactic Sugar, also used as Syntax Sugar, is a term used for when a programming language offers an easier way to be read and written.
Learn more…3 questions
Sort by count of
-
14
votes2
answers2787
viewsWhat is syntax sugar and how does it work?
I have seen in some blogs the use of that term and would like to know: 1) The real meaning of this expression and; 2) How a syntax sugar as the example below in the language java? for (Foo foo :…
-
3
votes3
answers176
viewsSyntactic Sugar in PHP
The foreach would be an implementation of Syntactic Sugar in PHP? foreach($array as $key=>$values) { //Faz algo com as chaves e valores. }
-
2
votes1
answer615
viewsSyntactic sugar?
I came across the term syntactic sugar these days when I was studying the use of await and async in C#. This question explains what syntactic sugar or syntax sugar is What is syntax sugar and how it…