Monthly Archives: July 2009

Tip of the day #13 (String Equality)

When comparing two strings in a case insensitive manner, use: myFirstString.Equals(mySecondString, StringComparison.InvariantCultureIgnoreCase) or, if cultural rules are to be ignored completely* then use: myFirstString.Equals(mySecondString, StringComparison.OrdinalIgnoreCase) over: myFirstString.ToLower() == mySecondString.ToLower() * The invariant culture is actually a non-region specific English language … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

What were they thinking?

I just spotted the following advert on StackOverflow: I have to say that I really don’t know what they were thinking when they thought up that advert. I especially wouldn’t know how to interpret this advert if I was a … Continue reading

Posted in Uncategorized | 7 Comments

Tip of the Day #12 (Hard coded values)

Don’t hard code VAT or other values that can change, even if they don’t change all that often. Additionally, if you really must hard coded values in a program then make it a named constant rather than a literal value … Continue reading

Posted in Uncategorized | Tagged | 1 Comment

Geeky Your Mom Jokes

Your mom is so FAT Microsoft are chasing her for a patent violation. Your mom is so ugly it’s just best to forego the “V” in MVC with her. Your mom is so repetitive you need an anti-spam filter to … Continue reading

Posted in Uncategorized | Tagged | 28 Comments

Tip of the Day #11 (iMicros)

iMicros is a plug in for FireFox that lets you automate repetitive tasks. This is a fantastic tool for anyone that develops websites as the flow through the site can be recorded and played back quickly and repeatedly. It reduces … Continue reading

Posted in Uncategorized | Tagged | Leave a comment

Tip of the day #10 (XP Pro IIS Admin)

If you are in the same situation as me where you have to develop web applications on Windows XP and have many projects on the go and for what ever reason cannot just stick each into its own virtual directory … Continue reading

Posted in Tip of the Day | Tagged , | Leave a comment