Click here to Skip to main content
15,897,518 members
Home / Discussions / Design and Architecture
   

Design and Architecture

 
QuestionASP.NET Cache / Caching Application block - others? [modified] Pin
Markus Mayer19-Jul-07 5:22
Markus Mayer19-Jul-07 5:22 
GeneralChoice between Reporting Services and Integration Services Pin
Brady Kelly13-Jul-07 0:36
Brady Kelly13-Jul-07 0:36 
QuestionDesign Issue Pin
asarpe12-Jul-07 22:50
asarpe12-Jul-07 22:50 
AnswerRe: Design Issue Pin
Pete O'Hanlon12-Jul-07 23:20
mvePete O'Hanlon12-Jul-07 23:20 
QuestionTrue or False Flags: best practices Pin
SSMERK00712-Jul-07 2:18
SSMERK00712-Jul-07 2:18 
GeneralRe: True or False Flags: best practices Pin
Emmanouil12-Jul-07 2:58
Emmanouil12-Jul-07 2:58 
AnswerRe: True or False Flags: best practices Pin
Pete O'Hanlon12-Jul-07 3:22
mvePete O'Hanlon12-Jul-07 3:22 
AnswerRe: True or False Flags: best practices Pin
Luc Pattyn12-Jul-07 5:39
sitebuilderLuc Pattyn12-Jul-07 5:39 
Hi,

Of course I agree with the true/false syntax preference over 1/0.

I want to add one big caveat: in C integer values other than 0 and 1 will fail the
if (x==TRUE) test but pass the if(x) test, yielding some very nasty bugs.

So the recommendation might be:
1. to use !=FALSE rather than ==TRUE
2. to use IS_TRUE(x) and IS_FALSE(x) macros instead
3. to use FALSE and !FALSE rather than FALSE and TRUE (but not ==!FALSE)

None of these could be enforced however.

Smile | :)




GeneralRe: True or False Flags: best practices Pin
SSMERK00712-Jul-07 5:56
SSMERK00712-Jul-07 5:56 
QuestionData collection and mapping Pin
patelash0111-Jul-07 10:22
patelash0111-Jul-07 10:22 
AnswerRe: Data collection and mapping Pin
Pete O'Hanlon11-Jul-07 10:53
mvePete O'Hanlon11-Jul-07 10:53 
QuestionMalloc & Page File Pin
Mr Simple9-Jul-07 9:59
Mr Simple9-Jul-07 9:59 
AnswerRe: Malloc & Page File Pin
Mr Simple9-Jul-07 10:03
Mr Simple9-Jul-07 10:03 
GeneralRe: Malloc & Page File Pin
Luc Pattyn9-Jul-07 10:11
sitebuilderLuc Pattyn9-Jul-07 10:11 
GeneralRe: Malloc & Page File Pin
Mr Simple9-Jul-07 22:10
Mr Simple9-Jul-07 22:10 
GeneralRe: Malloc & Page File Pin
Luc Pattyn10-Jul-07 0:50
sitebuilderLuc Pattyn10-Jul-07 0:50 
GeneralRe: Malloc & Page File Pin
Mr Simple10-Jul-07 5:19
Mr Simple10-Jul-07 5:19 
GeneralRe: Malloc & Page File Pin
Dan Neely10-Jul-07 5:37
Dan Neely10-Jul-07 5:37 
GeneralRe: Malloc & Page File Pin
Mr Simple10-Jul-07 5:44
Mr Simple10-Jul-07 5:44 
GeneralRe: Malloc & Page File Pin
Dan Neely10-Jul-07 7:09
Dan Neely10-Jul-07 7:09 
AnswerRe: Malloc & Page File Pin
Stephen Hewitt9-Jul-07 14:07
Stephen Hewitt9-Jul-07 14:07 
AnswerRe: Malloc & Page File Pin
Emmanouil12-Jul-07 3:22
Emmanouil12-Jul-07 3:22 
GeneralRe: Malloc & Page File Pin
Luc Pattyn12-Jul-07 7:27
sitebuilderLuc Pattyn12-Jul-07 7:27 
GeneralRe: Malloc & Page File Pin
Emmanouil12-Jul-07 7:58
Emmanouil12-Jul-07 7:58 
QuestionYour help is greatly appreciated Pin
columbiasmiles9-Jul-07 7:30
columbiasmiles9-Jul-07 7:30 

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

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