commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rob Leland <rlel...@apache.org>
Subject Re: [math] design patterns (was Re: cvs commit: jakarta-commons-sandbox/math/src/java/org/apache/commons/math/stat UnivariateImpl.java)
Date Thu, 19 Jun 2003 20:22:38 GMT

>
> Static methods are a necessary evil in OO languages and should be 
> avoided when possible.  

I disagree. Static functions are similar to Aspect Oriented Programming, 
such as AspectJ which centrializes
code across many classes that is similar in functionality. This 
eliminates duplicate code, and increases maintainability.

http://www.eclipse.org/aspectj/

-Rob


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


Mime
View raw message