Stelligent Home Page
CONSULTING  •  COACHING  •  COLLABORATING

Quick Links
 

Stelligent Coverage



In pursuit of code quality: Defensive programming with AOP


OVal takes the legwork out of writing repetitive conditionals

Although defensive programming effectively guarantees the condition of a method’s input, there are downsides to relying solely on this strategy. For instance, defensive programming constructs tend to muddle code with repetitive logic.

In this month’s, “In pursuit of code quality” installment, Defensive programming with AOP, Stelligent President Andrew Glover demonstrates a multifaceted approach to dealing with the less predictable defects in your code by combining aspect-oriented programming (AOP), design by contract, and an easy-to-use generic validation framework called OVal.

Don’t miss the accompanying discussion forum to the series for assistance with code metrics, test frameworks, and the creation of quality-focused code.