Typically in a C-like language you might use consts or enums to improve readability, e.g.
const bool kConvertToUpperCase = true;
const bool kDoNotConvertToUpperCase = false;
or
enum {
kDoNotConvertToUpperCase,
kConvertToUpperCase
};
The above methods also allow for extensibility, e.g. if a design initially calls for two possible options for a particular parameter, which might then be implemented as a boolean, but later this becomes three (or more) options, requiring an int or an enum - you don't then need to switch form explicit true
/false
literals everywhere to their equivalent values.
E.g.
const int kConvertToLowerCase = 2;
const int kConvertToUpperCase = 1;
const int kDoNotConvertToUpperCase = 0;
or
enum {
kDoNotConvertToUpperCase,
kConvertToUpperCase,
kConvertToLowerCase
};