from Hacker News

Meme variable names

by ozchrisb on 12/7/10, 10:24 PM with 1 comments

From a view source of a youtube page, SRSLY_GTFO.

yt.setMsg({ 'BAD_RESPONSE': "Bad response from server.", 'UNABLE_TO_CONTACT_SERVER': "Oops! Unable to contact server." });

      yt.setMsg({
    'ERROR_WHILE_PROCESSING': "Error while processing your request.",
    'UNKNOWN_ERROR': "An error occured while performing this operation.",
    'POSTING_COMMENT': "Adding comment...",
    'CONFIRM_NAVIGATE_AWAY': "Are you sure you wish to continue?",
    'CONFIRM_UNSAVED_CHANGES': "You have unsaved changes. If you continue, your changes will not be saved.",
    'FLAG_DEFAULT': "Select a Reason",
    'SRSLY_GTFO': "This will remove the selected user.  Are you sure you wish to continue?",
    'THEME_LIMIT': "You have reached your channel customization limit.",
    'CONFIRM_UNSAVED_CHANGES_ARRANGER': "You have unsaved changes. Are you sure you wish to continue?"
  });
  • by splatcollision on 12/8/10, 11:41 AM

    Ha that's good. I personally restrict my LOL-speak to comments. In a way the dark art of variable naming may have some parallels to LOL-speak - shortening as much as possible without losing meaning.