Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!news.musoftware.de!wum.musoftware.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: v_borchert@despammed.com (Volker Borchert) Newsgroups: comp.lang.java.programmer Subject: Re: Style Police (a rant) Date: 27 Aug 2011 08:40:20 GMT Organization: Private site at Eddersheim, Germany Lines: 25 Distribution: world Message-ID: References: X-Trace: individual.net 3muhgPfoo7gP6P86YHiMTQWt+87bhM0CJA8sEAlZW0/7Kqs6jj Cancel-Lock: sha1:Ewvt0wrzSg6LREMBaLJGtflz2zo= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:7411 Rajiv Gupta wrote: > On 2011-08-27 10:56:40 +1000, Eric Sosman said: > > > > I wonder what this Checkstyle tool would think of the concrete, > > non-final, non-empty equals(), hashCode(), clone(), toString(), and > > finalize() methods of ... java.lang.Object, the one class *no* Java > > program can avoid extending. If java.lang.Object is "not designed for > > extension," is there any hope left for the language? > > > > Enforcing good style is difficult. I wish the purveyors of the > > enforcement tools would realize it's beyond their powers to do it well. > > You are not forced to use the tool. These tool are often written by > the pedants and those who don't have much real world experience. The > correctness checking inbuilt into modern IDEs is sufficient anyway. I like findbugs. It integrates neatly into Eclipse, detectors can be enabled or disabled one by one, and you could even add your own. -- "I'm a doctor, not a mechanic." Dr Leonard McCoy "I'm a mechanic, not a doctor." Volker Borchert