PDA

View Full Version : ??!?!?



The Brain
12-27-2004, 04:04 PM
Here is a pretty cool site.

It features coding horrors.

Good entertainment.

http://www.thedailywtf.com/

Kleid-0
12-27-2004, 04:11 PM
If myDocument.IsActive Then DoStuff()

I'm completely lost. WTF does that line of code do? Now lets see how it looks when we employ best practices and the the IsTrue function:
If IsTrue( objInstanceOfDocument.blnDocumentPropertyIsActive ) Then fn_DoStuff()

Crystal. Clarity. rofl, so sad.