March 29th, 2022

How to become a Senior Detective, according to Murderville

One of my colleagues pointed out a screen shot from the Netflix documentary series¹ Murderville as the Senior Detective introduces himself:

m_vecSockets.clear();
 
m_ButtonStartServer.SetCheck(BST_UNCHECKED);
m_ButtonStartClient.SetCheck(BST_UNCHECKED);
 
EnabledControl();
 
m_wndCountPeople.SetWindowText("0 peop.");
SetWindowText("Error");
}
 
void CChatCppDlg::OnBnClickedButtonSend()
{
CString strChat;
m_wndSend.GetWindowTxt(strChat);
SendChat(strChat);
 
}
 
void CChatCppDl

It looks to me like the Senior Detective is busy typing out the next method of CChatCppDlg at the bottom of the screen.

It also appears that Senior Detectives believe indentation is superfluous, use MFC, and are very conscientious about wasting space, preferring to abbreviate “people” to just “peop.” to save one character. (But why not “ppl.”?)

Another colleague was able to find out that this Senior Detective plagiarized his code from a Russian Web site, which in turn appears to have been derived from an MFC sample program.

So that’s how you become a Senior Detective: Find a Russian Web site, copy its code, including the odd indentation, but strip the comments, and translate the strings back to English. Instant promotion!

¹ No, Murderville is not actually a documentary. It’s a comedy. The running joke in all of these “How to… according to” posts is that I’m naïve and think that all of television is real.

Author

Raymond has been involved in the evolution of Windows for more than 30 years. In 2003, he began a Web site known as The Old New Thing which has grown in popularity far beyond his wildest imagination, a development which still gives him the heebie-jeebies. The Web site spawned a book, coincidentally also titled The Old New Thing (Addison Wesley 2007). He occasionally appears on the Windows Dev Docs Twitter account to tell stories which convey no useful information.

3 comments

Discussion is closed. Login to edit/delete existing comments.

  • Telmo Silva

    Nothing to do with this post, although an amusing and informative one (as I have never seen Murderville), but I don’t have hours to waste searching for emails and ways of contacting you. Did you by any chance go to high school in Mississauga, PCSS?

  • IS4

    In Star Trek: Discovery, the extremely advanced code to operate the ship’s drive is… WinApi headers.

  • Mystery Man

    Another colleague was able to find out that this Senior Detective plagiarized his code from a Russian Web site, which in turn appears to have been derived from an MFC sample program. So that’s how you become a Senior Detective: Find a Russian Web site, copy its code, including the odd indentation, but strip the comments, and translate the strings back to English.
    Plagiarism is a strong word for this case. I don't the Senior...

    Read more