I'd say groups are better because you don't have to perform an if () check to check a groups value, you do for variables.
I prefer using variables.