Piracy is not an enemy until you are famous.
Until that point, obscurity is your enemy.
I think independent creators should spend all of their attention fighting obscurity until they are famous, and only then should start to worry about piracy.
Derek Silvers, via microISV
Hi,
There was a post here in this blog long time ago in which you discussed your preference of constant usage in conditional statements something like:
if(INVALID_HANDLE_VALUE != hFile)
is better than
if (hFile != INVALID_HANDLE_VALUE )
If you can, then please give me the link of that post.
Posted by: Maria Siddiqui at August 31, 2005 05:08 PMMaria,
Hmm, I can't remember the post, and it's more likely
if (INVALID_HANDLE_VALUE == hFile)as that protects you from the mistype of
if (INVALID_HANDLE_VALUE = hFile)though most compilers now warn of this anyway.
Otherwise it may be this post on the conditional operator?
I've tried using the search facility to search for const, constant and conditional and nothing obvious comes up. Sorry.
Posted by: Len at August 31, 2005 06:40 PM