Impressed

Ali Çehreli acehreli at yahoo.com
Thu Jul 26 17:23:53 PDT 2012


Welcome! :)

On 07/26/2012 04:59 PM, Stuart wrote:

 > Why does D have GOTO? I haven't used GOTO in over a decade, because it's
 > truly evil.

GOTO is evil; 'goto' is not! ;) goto makes switch-case statements safer 
in D:

   http://dlang.org/statement.html#GotoStatement

 > iterators

Here is a paper that compares different approaches:

   http://www.informit.com/articles/printerfriendly.aspx?p=1407357

Ali



More information about the Digitalmars-d mailing list