The previous lists can be found here and here.
// Apparently we have given up on using enums or arrays
// or other products of common sense (On a side note…sOriginPoint?!?)
const string DecodeBoolean(const bool bBoolean)
string sOriginPoint = (bBoolean) ? “TRUE” : “FALSE”;
- // Whatever excuse is made to justify calling it, the answer is still “no”
bool bSuccess = true;
- // I’m lost now, and I need GPS
// Well, yeah, it would only be one of them…but that still doesn’t explain what
// a return value of ‘True’ means…
const bool RealErrorOrNotError(string& sMessage)
// Personally, I like my programming to be a little more decisive
void SetIsHashableIsMayBeHashable(string& sIsHashable)
Peter Bolton is the author of Blowing the Bridge: A Software Story and has also been known to be a grumpy bastard on occasion.
DecodeBoolean can be condensed to “” + bBoolean in Java.
Or perhaps something sane like String.valueOf(bBoolean);