Tag Archives: assertions

Assertive Code

Trust, but verify Self-confident code does not ask questions about the data given to it. It enforces validity, asserts that its expectations are met, or ignores data which isn’t up to its standards. Previously we’ve looked at some methods for … Continue reading

Posted in Uncategorized | Tagged , , , , | 26 Comments

[ANN] fail-fast 1.0.0 Released

Number two out of three in my weekend releasing spree, I’m happy to announce the availability of “FailFast”:http://fail-fast.rubyforge.org v.1.0.0. h2. Description FailFast is a collection of assertion methods intended for lightweight contract checking. h2. Installing sudo gem install fail-fast h2. … Continue reading

Posted in Uncategorized | Tagged , , , , , , | 4 Comments