RFC
Henning Hasemann
hhasemann at web.de
Thu May 24 03:21:11 PDT 2007
On Thu, 24 May 2007 02:45:05 -0700
janderson <askme at me.com> wrote:
> davidb wrote:
> [snip]
> > 5) line 62:
> > if "for (;;) ... " has only one statement(?), you don't need
> > enclosing {} (just cosmetics, but hey - 2 chars less typing *g*)
> > (or did you use it here as a means to show your intention
> > more clearly?)
> [snip]
>
> I know this is mainly a style thing however I've seen many bugs caused
> by people who leave the scope brakes of the loop.
Ack, I also have only *very* few cases where I do not put brackets
(also because I come from python so if I'm not concentrated I fear
it might happen to me to rely on indentation)
Henning
--
GPG Public Key: http://keyserver.veridis.com:11371/search?q=0x41911851
Fingerprint: 344F 4072 F038 BB9E B35D E6AB DDD6 D36D 4191 1851
More information about the Digitalmars-d-learn
mailing list