Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BOOL Datatype
Message
From
16/04/2000 23:57:59
 
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00357504
Message ID:
00360257
Views:
15
>>I agree with you that boolean values should be treated as boolean and not as numbers, wherever and wenever possible.
>
>My view is that boolean values should be treated as boolean and not as numbers, ALWAYS.
>
>There are NO instances where booleans should be used as numbers, despite the fact that C/C++ allows it, there should always be an explicit conversion. It might lead to slightly smaller code, but usually its far less readable & maintainable.

I agree. But since C++ doesn't enforce it and programmers are humans... :)

Vlad
Previous
Reply
Map
View

Click here to load this message in the networking platform