The generally accepted legend of whoopie pies is that they evolved from little cakes mothers would make their children from leftover cake batter and frosting.
Its important not to try to halve this recipe. When you need only a half recipe of dough, as for the pains au chocolat, use the rest of the dough for a batch of Parma braids.