Refactor: patterns Replace Magic Number with Symbolic Constant and Replace Data Value with Object