You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In most contexts, boolean refers to a specific data type in a specific programming language. In such cases, use code font and the exact spelling and capitalization of the programming keyword.
When referring to the abstract data type, use lowercase.
If you refer to Boolean mathematics or Boolean logic, use uppercase.
Boolean. Correct. Named after George Boole, who first developed the concept.
According to the IBM Style Guide, it is acceptable to use "boolean" (lowercase) in API programming information when it refers to a primitive return type.
This came up at python/cpython#123845 (review).
We're not consistent in writing it upper or lower case. A rough search shows it's about 50-50:
Shall we pick something and put it in our style guide?
Looking at some other tech style guides, it's not clear cut.
Google says:
Microsoft says:
Red Hat says:
Apple says:
The text was updated successfully, but these errors were encountered: