General information
Category:
Windows API functions
>>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only