language from Gay men when it was illegal to be homosexual. It was a very old form of slang used by criminals, sailors etc
it was a secret, informal form of communication used by relatively powerless groups of people judged ton be on the wrong side of the law, so it was never written down or recorded