[OT] Curlies and try/catch

Unknown W. Brackets unknown at simplemachines.org
Fri May 2 12:31:06 PDT 2008


I figured some people here might know.  Honestly, this has always been a 
question of mine...

Why do most (all but D?) languages force you to use curlies for 
try/catch?  Is it because they are enforcing style?  Encouraging you to 
not use them for simple one-offs?

I really like how D works.  I wish all languages were like it in this 
(and many other) respect(s).

-[Unknown]


More information about the Digitalmars-d-learn mailing list