News for hackers. Stuff that matters.
Re:Code blocks in Python by d4nt on Friday April 20, 2012 @10:54AM (#3868097)
Just personal preference really, if your "isRelevant" filter was only ever going to be used by your "CountRelevantItems" method you might consider it more readable to have the logic of isRelevant right there in the CountRelevantItems method rather than elsewhere in the class.

There are no comments on this comment yet.