Reminder: Survey Time! Please take a few moments to fill out the brief The Daily WTF Reader Survey. Thanks!


"About halfway through an important project at Initrode," wrote Pat P., "the consultant team was augmented by a new member. Nothing notable you might say except for one fact: she was a girl. And not just any girl. She was attractive. Very very attractive. And if it wasn’t unjust enough that all developers were tormented by the daily sight of something so charming and yet elusive, Rachelle - the new team member, proved to be a very competent and effective programmer."

"The project was run by a manager named Titus, who considered himself to be a programmer’s manager: a man of the people, pleasant, a little goofy, and quite enthralled with his high-end team. As the months progressed, however, the pressure of the large project finally got to him, and he requested to be demoted to a programmer.

"Curiously," Pat continued, "Titus' request was granted and he became a programmer. He was assigned to work on the secluded island of a lower-priority project where no one cared if he used source control, let alone cared about what he was developing. As he worked by himself on the small project, the original big project ran its course and the rest of the developers moved on to other projects.

"Years later, when Titus finally left Intitrode, the other developers (including the lovely Rachelle) picked up Titus' code to see where he had left off and discovered a few rather odd snippets of oddly named code."

private Int32[] rachelle(ArrayList arlst) {
    Int32[] arry = new Int32[arlst.Count];

    for (int i = 0; i < arlst.Count; i++)
    {
        arry[i] = (Int32)arlst[i];
    }

    return arry;
} // TODO: Better name!


private void rachelle1(ArrayList arlst, Int32[] arry) {
    arlst.Clear();

    if (arry != null)
    {
        for (int i = 0; i < arry.Length; i++)
        {
            arlst.Add(arry[i]);
        }
    }
} // TODO: Better name!


private Double? rachelle(string txt)
{
    // TODO: I have think that there is some simpler logic 
    //       for implementing this. All it's doing is dealing 
    //       with zero-length string in a text box 
    
    // TODO: Think of a more appropriate name.  
    //       'rachelle' is really just a placeholder in this context

    Double? amt = null;

    if (txt != null && txt.Length != 0)
    {
        amt = (Double?)Convert.ToDouble(txt);
    }

    return amt;
}