if (NULL == lpDataPointer)
{
/* Return FALSE */
return FALSE;
}
else
{
/* Return TRUE */
return TRUE;
}
Now give the same programmer an OOP language and see what happens. Even a bigger disaster masqueraded as an OOP system.I know I kind of repeat the author's True Scotsman's metaphor, but my point is, you can't kill a return operator or, say, code comments just because the majority of code around us tends to misuse it. Unfortunately for the OOP paradigm it makes multiplying even bigger entities easier, and at the same time its learning curve invites lo-fi coding.
Who's to blame?