a ding on an aluminum frame can lead to cracking in fairly short order, so it's not a given that it's more forgiving of dings. If a carbon bike gets hit the wrong way, it might delaminate the fibers. This will probably reduce the section strength considerably.