D Design Could Be Improved

Aleksey S. Skidan al.skidan at gmail.com
Sun Dec 17 08:19:31 PST 2006


Well. One more thing to add:

I think that
void foo()
{
 int x;
 {
   int x;
 }
}

Mustn't be a scoping error. This is a very powerful feature. It helps to avoid the
names like int x2 or another_x. It makes naming easy. And it is widely used in
select/case blocks.

Regards, Aleksey.



More information about the Digitalmars-d mailing list