RSSMicro.com Search - RSS Feed Search Engine - RSS Feed Directory
Dedicated RSS Feed Search Engine
 Search 5.7 million RSS feeds
The most comprehensive RSS feed search on the web
Top Stories  |  FeedRank Checker

Published

   Last Hour

   Last Day

   Past Week

   Past Month

 Anytime







Featured
RSS Feeds


CNN RSS Feeds

Reuters RSS Feeds

MSNBC RSS Feeds

New York Times RSS Feeds

Washington Post RSS Feeds

CNBC RSS Feeds

ABC News RSS Feeds

Fox News RSS Feeds

Sky News RSS Feeds

Forbes RSS Feeds

CNET RSS Feeds

Unicef RSS Feeds

PBS RSS Feeds

Wall Street Journal RSS Feeds

Financial Times RSS Feeds

Business Week RSS Feeds

Bloomberg RSS Feeds

TheStreet RSS Feeds

ESPN RSS Feeds

   




FeedRank - RSSMicro Search

FeedRank, a newly developed algorithm for ranking RSS feeds only on RSSMicro
Click here to learn more




FeedRank: 4/10  4/10  Good  ---  codebetter.com
Stuff you need to code better! ...

 

 



Tuesday, August 05, 2008 --- 155 days ago
A month ago, Jeff Atwood ( Coding Horror ) wrote a blog post about Spartan Programming . The idea is to tend toward minimalism coding style: Minimalism isn't always the right choice, but it's rarely the wrong choice .   I figured out that many of Spartan Programming tenets can be expressed as CQL rules:   Horizontal complexity . The depth of nesting of control structures. WARN   IF   Count   >   0   IN   SELECT   METHODS   WHERE   ILNestingDepth   >   3   Vertical complexity . The number of lines or length of code (all routines, and and preferably larger software units such as classes fit within a single screen) . WARN   IF   Count   >   0   IN   SELECT   METHODS   WHERE   NbLinesOfCode   >   15   Parameters . The number of parameters to a routine or a generic structure. WARN   IF   Count   >   0   IN   SELECT   METHODS   WHERE   NbParameters   >   4   Variables WARN   IF   Count   >   0   IN   SELECT   METHODS   WHERE   NbVariables   >   4   Conditionals. The number of if and multiple branch switch statements. WARN   IF   Count   >   0   IN   SELECT   METHODS   WHERE   CyclomaticComplexity   >   7     Minimize visibility of identifiers (what I call Optimal Encapsulation ). WARN   IF   Count   >   0   IN   SELECT   METHODS   WHERE   CouldBePrivate This applies also to types and fields and to any non-public visibility level, for example. WARN   IF   Count   >   0   IN   SELECT   TYPES   WHERE   CouldBeInternal       Minimize variab ...




Recent Posts





 Facebook     Del.icio.us     Digg     StumbleUpon     Reddit     Google
Copyright © 2008 RSSMicro.com