|
|
Re: Eclipse "too helpful" [message #224730 is a reply to message #224659] |
Fri, 24 February 2006 22:40 |
|
Anders Norgaard wrote:
> Hi,
>
> http://blogs.zdnet.com/Burnette/?p=16
>
> I agree completely with the post, an IDE should support good/best practices
> but it should also to some degree enforce them. It should not support
> harmful practices.
>
> I think this is the first time I see something I don't approve of in
> Eclipse.
>
> Does anyone know if a bug has been file to ask for the removal of this
> feature? (I didn't find one in a quick search for "remove braces" or "if
> block statement")
>
With all due respect, extraneous braces are just that, extraneous. For many who choose to
consistently put the leading brace on a new line and maintain good indentation policies,
those braces are really superfluous. They don't make the code more full-proof in any way.
I'm in favor of this feature. Please keep it there. If you don't want it, don't use it. You
have every right to consider it's use bad practice. Just don't go around thinking that
everyone else share that opinion.
Kind Regards,
Thomas Hallgren
|
|
|
Re: Eclipse "too helpful" [message #224754 is a reply to message #224659] |
Fri, 24 February 2006 23:34 |
Eclipse User |
|
|
|
Originally posted by: wharley.bea.com
"Anders Norgaard" <anders.norgaard@gmail.com> wrote in message
news:dtmh9s$fpm$1@utils.eclipse.org...
> Hi,
>
> http://blogs.zdnet.com/Burnette/?p=16
>
> I agree completely with the post, an IDE should support good/best
> practices
> but it should also to some degree enforce them. It should not support
> harmful practices.
>
> I think this is the first time I see something I don't approve of in
> Eclipse.
>
> Does anyone know if a bug has been file to ask for the removal of this
> feature? (I didn't find one in a quick search for "remove braces" or "if
> block statement")
If there is any constant star in the night sky of software development, it
is developers' ongoing arguments about braces and whitespace. I vaguely
remember arguing about blank-comment punch cards in the 1970s.
The argument could be easily solved, of course, if everyone would simply see
reason and adopt my own, obviously correct, point of view ;-)
Barring that solution, though, if we wish to make the Eclipse IDE enforce
good programming practices, there are probably more fruitful areas to begin.
For instance, how about making the new-project wizards automatically set up
version control?
|
|
|
Powered by
FUDForum. Page generated in 0.04991 seconds