I find that even saying "I'm a programmer" in social settings triggers my counterparty to frantically start scanning the room for anybody else to talk to.
In social situations when that comes up I usually say something like "I work for <employer>" and then immediately try to change the subject.