Re: Coding Standards
- From: Ben Phillips <b.phillips@xxxxxxxxxxxxxxxxx>
- Date: Fri, 31 Aug 2007 15:29:39 -0400
Ed Kirwan wrote:
It also raises the question of degree. When does a method stand on its own
two feet and when does it shatter into mini-methods? It would be nice to
identify a mathematically describable property whereby we could chart an
entire-class-in-a-method at one end, and an even more rigid method split
than that defined above (say, rewriting (i) to allow a method to hold a
maximum one non-method-calling statement). It would be nice to find where
such a property's differential would hit 0.
You might be interested in googling "cyclomatic complexity". (The second hit is the Wikipedia article, and is probably the best place to begin.)
.
- Follow-Ups:
- Re: Coding Standards
- From: Matthias Buelow
- Re: Coding Standards
- References:
- Coding Standards
- From: davidsamith@xxxxxxxxx
- Re: Coding Standards
- From: Karl Uppiano
- Re: Coding Standards
- From: Matthias Buelow
- Re: Coding Standards
- From: Ed Kirwan
- Coding Standards
- Prev by Date: Re: Coding Standards
- Next by Date: Re: Sun changing its stock symbol to JAVA
- Previous by thread: Re: Coding Standards
- Next by thread: Re: Coding Standards
- Index(es):
Relevant Pages
|