Whisking the butter and sugar together for a few minutes helps for there to be air added into the batter, but also helps to emulsify the sugars and make them less hard within the batter. You want to whip butter and sugar together for all baking recipes like cakes, cookies, etc. to help with this. You will know it’s ready when you see it has turned to a very light color, grown largely in mass.