Thoughts on the use of Boolean function parameters and Boolean function return types.
Antipatterns
A collection of 7 posts

Star Of The Week
In which honours are bestowed upon me.
Enterprise Integration Anti-Patterns #2 - Shared Assemblies
Thoughts on the common antipattern of sharing assemblies between applications.
Enterprise Integration Anti-Patterns #1 - The Shared Database
So, I was in the office at a client site, walking back to my desk after grabbing a quick coffee, when a developer on a sister product to my current project grabbed me and asked (I paraphrase somewhat): “Hey, Ian
Empty Catch Blocks
I’ve just found 22 examples of this anti-pattern in a small .NET project: try { // (Stuff here) } catch {} Oh yes, the empty catch block. Joy of joys. Declaring an empty catch block is equivalent to professing that: "Sometimes this code
Exception Handling Worst Practices
Oh, my eyes! I'm currently looking at a VB.NET class which includes a dozen examples of the following exception "handling" anti-pattern: 'Send e-mail Try Dim smtp As New SmtpClient() smtp.Send(message) Catch ex As Exception ThrowException(
Is My String Empty? Some C# Performance Metrics
Update (25/02/2006) - Hey, we now have String.IsNullOrEmpty, you know! What's the quickest way, in C#, to test whether a string is empty? This is a question which came to my mind yesterday. I've always been