Reduce Exception Handling Bloat

Most developers are probably familiar with exception handling guidelines that advise you to “avoid catching System.Exception or System.SystemException, except in top-level exception handlers”, and “if you can’t handle the exception in your part of the chain, throw it upwards rather than swallow it”. These spirit of these guidelines basically encourage you to: Create your own typed exceptions … Read moreReduce Exception Handling Bloat

Delivery (Build-Deploy-Release) Reading List

Continuous Delivery: Reliable Software Releases through Build, Test, and Deployment Automation (Addison-Wesley Signature Series (Fowler)) Thorough coverage of the “deployment pipeline”: an automated process for managing all changes: from check-in to build, testing (unit, acceptance, capacity); deployment, and release. Finally gives a name for many of the concepts (and headaches) that I’ve either seen or heard … Read moreDelivery (Build-Deploy-Release) Reading List

Why Regular Expression “Does Not Exist” Tests are Convoluted

In order to perform a “does not exist” test in a regular expression, you have to leverage negative lookaheads (negative lookarounds), if your flavor of regular expressions supports them: http://stackoverflow.com/questions/406230/regular-expression-to-match-string-not-containing-a-word Although this expression seems to works in RegEx Buddy’s .Net evaluation mode, it actually does NOT in production .Net code (call to RegEx.IsMatch) : C# … Read moreWhy Regular Expression “Does Not Exist” Tests are Convoluted