On a professional context I'll say I'm a software developer. If I want to brag a bit I'll say I'm a software engineer. If I'm with friends I'll say I'm a programmer. If I'm with family or older people I'll dip my toes with "I work with computers" and maybe further explain if prompted.