Re: SOS PLEASE FRIENDS OF JAVA



In article <ZroYh.1226$N05.44@xxxxxxxxxxxxxxxxxxxx>,
visionset <spam@xxxxxxxxxxxx> wrote:

Personally I find that heavily nested braces means a cue to refactor.

Unfortunately, with Java this sometimes means you need to refactor the
language itself :-)

I use suns convention. I never have a matching brace problem, if I
did I'd use the facilty provided by any modern IDE to fix the
formating and/or highlight the matching brace.

It's not about brace matching problems as much as it is about making
the code easier to read. If I can automatically spot braces by the
general pattern they imprint on the code, I will be able to read the
code much faster and with much better accuracy than I can if I have to
actually read the individual characters on the screen in order to
locate them.

Now parentheses are another matter!

Hey, don't hold back now, let's all hear about it! :-)

Cheers
Bent D
--
Bent Dalager - bcd@xxxxxxx - http://www.pvv.org/~bcd
powered by emacs
.



Relevant Pages

  • Re: SOS PLEASE FRIENDS OF JAVA
    ... Personally I find that heavily nested braces means a cue to refactor. ... It's not about brace matching problems as much as it is about making ... Perhaps some people line their parentheses up, maybe with anonymous classes. ...
    (comp.lang.java.help)
  • Re: SOS PLEASE FRIENDS OF JAVA
    ... visionset wrote: ... Personally I find that heavily nested braces means a cue to refactor. ... It's not about brace matching problems as much as it is about making ...
    (comp.lang.java.help)
  • Re: Multiple line if conditions
    ... > Java seems to have a problem with if conditions that take up more than one ... Obviously you can't put white space within ... You must use braces for scope if you have more than 1 statement to execute ...
    (comp.lang.java.help)
  • Re: Stop Calling Delphi "Object Pascal"
    ... braces, since this style is most appealing to C, C++, Java, C#, ... even Flash programmers. ...
    (borland.public.delphi.non-technical)