foo ifoo is an anitpattern