??!?!?

This is a discussion on ??!?!? within the A Brief History of Cprogramming.com forums, part of the Community Boards category; Here is a pretty cool site. It features coding horrors . Good entertainment. http://www.thedailywtf.com/...

  1. #1
    VA National Guard The Brain's Avatar
    Join Date
    May 2004
    Location
    Manassas, VA USA
    Posts
    903

    ??!?!?

    Here is a pretty cool site.

    It features coding horrors.

    Good entertainment.

    http://www.thedailywtf.com/
    • "Problem Solving C++, The Object of Programming" -Walter Savitch
    • "Data Structures and Other Objects using C++" -Walter Savitch
    • "Assembly Language for Intel-Based Computers" -Kip Irvine
    • "Programming Windows, 5th edition" -Charles Petzold
    • "Visual C++ MFC Programming by Example" -John E. Swanke
    • "Network Programming Windows" -Jones/Ohlund
    • "Sams Teach Yourself Game Programming in 24 Hours" -Michael Morrison
    • "Mathmatics for 3D Game Programming & Computer Graphics" -Eric Lengyel

  2. #2
    UT2004 Addict Kleid-0's Avatar
    Join Date
    Dec 2004
    Posts
    656
    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.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21