Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BOOL Datatype
Message
De
16/04/2000 23:57:59
 
 
À
13/04/2000 04:36:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00357504
Message ID:
00360257
Vues:
10
>>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform