Both a degree and relevant experience are important factors to consider when hiring a programmer. It ultimately depends on the specific needs of your company and the job requirements.