Antonio Petrelli wrote:
> Err... Does C++ have interfaces at all? All I recall is that C++ has
> classes.

Of course it does. A simple google search
(http://www.google.com/search?hl=en&q=C%2B%2B+interfaces&btnG=Google+Search)
would have shown you. Perhaps you're thinking of C.


Al Sutton wrote:
> Sunds like a good reason why it isn't possible :). 
It's not possible because C++ doesn't permit variable declarations in
interfaces, and even Java only permits them if they are invariants.


newton.dave wrote:
> 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.

I disagree. Auto-complete/auto-suggest editors (or "IntelliSense", as
Microsoft likes to call it) like JBuilder et. al., and, later, Eclipse,
removed the need for the extra keystrokes.


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

Good point. Newbies to OOP didn't avoid it because they didn't know better.
I hope you're not insinuating that the WebWork/XWork/Struts2 team were
newbies when they began this framework. I'd like to think MVC frameworks
that are apache top-level projects are written by mature (programming-wise),
experienced software engineers.


newton.dave wrote:
> Nobody is saying it's a good technique; that doesn't change that many
> people used it.
We're just going to have to agree to disagree on that word "many" because I
haven't see the constant interface pattern used nearly as frequently as you
claim to have.


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

I've no issue with you, Dave, and the only personal attack I think I've made
was towards Chris. I reiterate that, based on his comments in his thread, I
hope he's not a Struts2 committer. Anyone care to shed some light on his
involvement with Struts2? Is he a committer?

Thanks,
Clever Swine

-- 
View this message in context: 
http://www.nabble.com/StrutsStatics...-tp15595866p15765459.html
Sent from the Struts - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to