The Function Name Hall of Shame: Round Six



  1. // I prefer shaken, not bubble sorted
    const ABC_ERR_CD AbcParser::Gen007xRecords(…);
  2. // You’re more right than you know – this whole project is loco
    const ABC_ERR_CD AbcParser::AppendLocoSubjects(…);
  3. // Now, the implementation does check to ensure all digits are
    // greater than zero…but still, between the questionable grammar and the
    // name itself, that’s truly legendary stuff
    bool AbcParser::IsAllDigit(int);
  4. // Just get a Brazilian at the salon and get it over with
    const string TrimSpillover(string);
  5. // Sometimes the jokes write themselves
    bool AbcParser::DropDump(fileHandle, string);

Peter Bolton is the author of Blowing the Bridge: A Software Story and has also been known to be a grumpy bastard on occasion.

Leave a comment