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
So, today the Bank of England dropped interest rates sharply once again.
I usually avoid reading the BBC News "Have Your Say" forums, for therein lies the path to insanity and disillusionment in
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)
I realised today, somewhat belatedly, that our shiny Toyota Verso is due for its first service (the service interval is shorter than on my previous car, which caught me out).
So, I'm trying
Childless people who blatantly park in the parent and child spaces:
Ooh, it makes me mad. This convertible was lucky that our Ben didn't need to "go", as I was sorely tempted to