commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <>
Subject Re: [math] design patterns (was Re: cvs commit: jakarta-commons-sandbox/math/src/java/org/apache/commons/math/stat
Date Thu, 19 Jun 2003 20:34:04 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.

I see no correlation between AOP and static methods, nor any correlation 
between static methods an increased code maintainability.  There is nothing 
magic about static methods that make them more maintainable than 


>To unsubscribe, e-mail:
>For additional commands, e-mail:

Tired of spam? Get advanced junk mail protection with MSN 8.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message