Naming is hard. Prefer DEBUG_ENABLED
over NODEBUG
, and use Feature.Enabled
instead of Feature.Disabled
. Otherwise, you’ll end up with something like #define NODEBUG 0
and find yourself wondering what it even means.
Naming is hard. Prefer DEBUG_ENABLED
over NODEBUG
, and use Feature.Enabled
instead of Feature.Disabled
. Otherwise, you’ll end up with something like #define NODEBUG 0
and find yourself wondering what it even means.