{
value = 100 - value;
continue; // Why???
}
else
{
value = value + 100;
}
!!!FAIL!!!
!!!FAIL!!!
Nice example that shows what happens if we don’t have enough time to read a book about ‘Teach Yourself SQL Server Programming in 24 hours’ and start programming without knowing the tool that we use.
After we check msdn, we can easily check if two dates are in the same day:
!!!FAIL!!!
I have found this construction in a living project’s db layer:
And what is in the stored procedure that we call:
Nice code if we collect stored procedures instead of stamps…
!!!FAIL!!!
Let's update all the views, when there is no need to update.. As we can see high quality comments describe what this piece of shit does.
!!!FAIL!!!
!!!FAIL!!!
Without any comment, let’s go to the hell:
Nice combination of using goto and switch statement together. I hope I will never work with the author.
!!!FAIL!!!
What is wrong with the following code?
At the first look, it seems perfect but:
And this code with the previous row:
!!!FAIL!!!