+ 16
What is the difference of bool and boolean?
6 Réponses
+ 12
bool is in C++, boolean in Java. As I know, but they are the same in terms of what they do
+ 8
in Python its booleen too I think it just depends on the language
+ 4
Bool is short for boolean... I think...
+ 2
bool is the short term of boolean
+ 2
Semantically, nothing. They both MEAN the same thing, a data type of true or false. However, syntactically, everything is different about it. Every programming language READS our code differently. One program may be set up to expect the keyword ‘bool’ and another ‘boolean’.
+ 1
there is tiny difference in context of "type-hinting".
https://www.php.net/manual/en/language.types.declarations.php#language.types.declarations.base.scalar