Click here to Skip to main content
Click here to Skip to main content
Alternative Tip

"if" with no code block parenthesis

, 10 Feb 2011
Rate this:
Please Sign up or sign in to vote.
Always review all changes before submitting them. Especially, if using a global find and replace.
Always review all changes before submitting them. Especially, if using a global find and replace.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

About the Author

Andrew Rissing
Software Developer (Senior)
United States United States
Since I've begun my profession as a software developer, I've learned one important fact - change is inevitable. Requirements change, code changes, and life changes.
 
So..If you're not moving forward, you're moving backwards.

Comments and Discussions

 
GeneralReason for my vote of 5 Changing stuff without looking at th... PinmemberEddy Vluggen12-Feb-11 0:00 
GeneralRe: I agree - I always use #define and #if for debug output, and... Pinmemberjan lucas28-Mar-11 16:37 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Mobile
Web01 | 2.8.140709.1 | Last Updated 10 Feb 2011
Article Copyright 2011 by Andrew Rissing
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid