Both composite bonding and veneers can improve the appearance of discolored teeth. However, porcelain veneers are more resistant to staining and offer a longer-lasting whitening effect compared to composite bonding.