in a nut shell, fwd is for economy cars and rwd is better for performance.
but i'll go into more detail.
first with fwd. fwd is lighter because you don't need a long driveshaft to the rear of the car and the differential is more compact. its also cheaper to produce than rwd.
also fwd has better traction in slippery situations at low speeds. so lets say your car is stuck in some snow, fwd has more traction than rwd because the engine sits above the driven wheels, so there's more weight on the driven wheels, therefore more traction.
but lets say if your racing, fwd is HORRIBLE in "high performance" cars. first of all, when comming off the line, fwd has less grip than rwd because when you accelerate, the weight moves to the back so the front wheels won't have much grip. also when going through corners, you will experience more understeer because the front wheels are trying to do two thinks, steer and accelerate the car. so since so much is being demanded from the front wheels, understeer occurs. that's why high performance or true sports cars are either awd or rwd.
so as i said, rwd won't be as good as fwd in snow. but personally, i like drifting around in the snow :P
also, rwd gets better traction off the line, and through corners.
so which is better really does depends on your needs. for most people, fwd will do just fine because not everyone races their cars. that's why most cars today are fwd.