Digital cameras behave quite like slides. Highlight details which are overexposed/blown are irretrievable, and you also end up with a very harsh looking picture. On the other hand, shadow detail is easily pulled up as needed. So it's better to slightly underexpose. Too much underexposure is still not correctable of coz.