How to complex switch?
Stewart Gordon
smjg_1998 at yahoo.com
Thu May 26 16:33:27 PDT 2011
On 17/05/2011 21:44, Stewart Gordon wrote:
<snip>
> Features to improve the readability of code are the very definition of syntactic sugar.
> Indeed, Prolog programmers rely on syntactic sugar a lot.
<snip>
Come to think of it, some of the everyday features of programming languages generally are
syntactic sugar. For example:
- comments
- whitespace
- operator precedence/associativity rules
- comma-separated declarations
- with statements
- many of the logical operators found in C-like languages
Stewart.
More information about the Digitalmars-d
mailing list