Geek of the week

Jeremie Pelletier jeremiep at gmail.com
Sun Oct 11 22:18:44 PDT 2009


Walter Bright wrote:
> Tim Matthews wrote:
>> Don't know if it has already been posted:
>>
>> http://www.simple-talk.com/opinion/geek-of-the-week/walter-bright-geek-of-the-week/ 
>>
> 
> I gotta get some new duds :-)

Funny how you mention the 'for(...); dosomething();' problem in C 
because I just came across this on the daily wtf:

How to prevent for-loops from boundary overrun?

     for (int i=0;i<max; i++) {
      ...
     } while(0);

You can add that to the list of mistakes D prevents :)



More information about the Digitalmars-d mailing list