The word “queer” has been around since the 16th century and at first meant simply something out of order, mis-aligned, with occasional references to mental disorders. Over the years, it gradually took on a term of abuse directed at those considered sexually deviant.
