On Wed, Sep 9, 2009 at 6:03 PM, Ben Schulz <ya...@gmx.net> wrote:

>
> Mind my asking what you gain? Preferably something that does not fall
> into the - arguably subjective - category of esthetics? Because if you
> got nothing, then what's wrong with adding the braces? I find they
> look dashing. Also they let me see - at a glance - whether it's a
> block or a line that's indented due to wrapping. Plus it's uniform!
>

You lose 60% vertical overview.


>
> I agree the chances of causing bugs due to omitted braces are slim to
> none, but "whining" because one may gain nothing while giving up
> nothing in return seems pointless to me.
>
> So, if it's esthetics, fine, do with your code as you please, but
> leave the rest of us alone, will you?
>
> With kind regards
> Ben
>
> On 9 Sep., 17:18, Reinier Zwitserloot <reini...@gmail.com> wrote:
> > If you're scared of creating bugs due to a lack of braces (e.g. you
> > add a line and the code is not properly indented), you're doing it
> > very very wrong. That should not be a worry in a proper development
> > environment.
> >
> > auto-format is your friend.
> >
> >  --Reinier "I have loads and loads of single statement unbraced if/
> > elses, and it's NEVER EVER caused a problem" Zwitserloot
> >
> > NB: Unless you've tried it, I don't want to hear about whines.
> >
>


-- 
Viktor Klang

Blog: klangism.blogspot.com
Twttr: viktorklang

Lift Committer - liftweb.com
AKKA Committer - akkasource.org
Cassidy - github.com/viktorklang/Cassidy.git
SoftPub founder: http://groups.google.com/group/softpub

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to javaposse@googlegroups.com
To unsubscribe from this group, send email to 
javaposse+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to