Pattern vs Switch