The Function Name Hall of Shame: Round Five



  1. // Nothing is more arousing than numbers inside function names
    bool IfBefore01011900ModifyIt(string& dateString);
  2. // Could we make this functionality any less generic?
    string SubtractOneDayFromDate(string& sDate);
  3. // Looks like it’s time to call Mulder and Scully
    void EncodeFileX2();
  4. // Let me tell you about this new member function of the String class
    // called ‘replace’…
    int ReplaceCharacters(targetString, charExisting, charReplacement);
  5. // Good thing Mulder and Scully are here. Now arrest that man for crimes
    // against humanity.
    int CreateTransactionSeqForIllegalProcedure(…);

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 Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s