struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: StrutsStatics...
Date Fri, 29 Feb 2008 16:30:01 GMT
--- CleverSwine <cleverswine@fastmail.fm> wrote:
> Chris Pratt wrote:
> > I never said it was a good idea, it's just something that was so common
> > that they decided to make it part of the language.
> This statement demonstrates a fundamental misunderstanding of Java. I
> really hope you are NOT a committer on the struts2 project.

Ratchet down a notch.

> Dave Newton wrote:
> > Most recently in 2007, although like WebWork, the code was relatively
> old,
> > and they had been unable to switch to Java 5 at that time.
> 
> This problem has absolutely nothing to do with java5, and it would appear
> you're just not getting that. Java5 wasn't out in 2001 when Bloch and
> others wrote about this issue, yet an issue it was... and people avoided it
like
> the plague both pre- and post-Java5.

...

One of the reasons people used the technique was to avoid a minimal amount of
extra keystrokes. Java 5's static imports removed the need for the extra
keystrokes. Continued use of the pattern for the reason most people used it
is rendered irrelevant by Java 5.

That aside: not everybody avoided it. If they had, it wouldn't have had to be
written about at all. 

Nobody is saying it's a good technique; that doesn't change that many people
used it.

If you have any further issues with me specifically you can take them up with
me off-line or in person; this is not the forum for spewing invective and
insulting people.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message