I don't wear a helmet when commuting but I also rarely exceed 20km/h to avoid the exact kind of collision you just described. I have to say a helmet will help when going over the bars, but you could've just as easily been critically injured in other ways, such as breaking your neck, rupturing an artery etc.
One thing you notice about cyclists and cars in Amsterdam is that everyone goes quite slowly and with a fairly high level of awareness.