Can i feed my cat different brands of cat food?



Ive been told its bad to constantly be switching your cats brand of food becuase its supposed irritate their stomach and possibly make them sick. I buy a different brand everytime I need to buy a new bag of dry food for my cat and hes never gotten sick. Anyone else heard this? Anyone know if its actually a bad idea?