Do you like to use glass, metal, or white porcelain baking pans?

Is there a rule as to which type you are supposed to use for each? For example, metal for cakes and glass for casseroles? Is there any type of baking advice like temperature or time differences? If not, which do you prefer to use? Thanks for all your advice!