Questions tagged as 'syntactic-sugar'

2
answers

What is syntax sugar and how does it work?

I have seen in some blogs the use of this term and would like to know: 1) The real meaning of this expression e; 2) How does a syntax work like the example below in java ? for (Foo foo : listFoo) { //CÓDIGO AQUI }     
asked by 15.04.2014 / 03:01
3
answers

Syntactic Sugar in PHP

Would foreach be an implementation of Syntactic Sugar in PHP? foreach($array as $key=>$values) { //Faz algo com as chaves e valores. }     
asked by 25.07.2014 / 21:33
1
answer

Syntactic sugar? [closed]

I came across these days with the term syntactic sugar, when I was studying the use of await and async in C #. This question explains what is syntactic sugar or syntax sugar What is syntax sugar and how does it work? . In addit...
asked by 27.05.2015 / 21:16