Java Mailing List Archive

http://www.gg3721.com/

Home » eclipse-plugin-dev.groovy »

[groovy-eclipse-plugin-dev] Not entirely useful message

Russel Winder

2009-10-17


Author LoginPost Reply
Thanks to Andy for fixing the problem stopping Gant from compiling in
Eclipse.

In the interim I had been working with the old faithful Emacs and Bash
-- still my preferred tools :-) -- and added some new code. Using
Eclipse again it flags one of the lines as "Dead code."

It is certainly true that the statement is of the form:

 def x = ( true ? "A" : "B" )

so there is a certain amount of silliness (it is a place holder for some
real code, so it is not totally silly). However the term "Dead code" is
not one I would have used. Redundant possibly. Despite historic use of
"dead code", it is a poor term since the code was never actually alive
and "dead" is not actually the same as "cannot be executed".

I just thought I would raise this. It's a small point.

--
Russel.
=============================================================================
Dr Russel Winder    Partner
                            xmpp: russel@(protected)
Concertant LLP     t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,  f: +44 8700 516 084  voip: sip:russel.winder@(protected)
London SW11 1EN, UK  m: +44 7770 465 077  skype: russel_winder

Attachment: signature.asc (zipped)
©2008 gg3721.com - Jax Systems, LLC, U.S.A.