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!
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 <[email protected]> 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. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaposse?hl=en -~----------~----~----~----~------~----~------~--~---
