01 - Preheat oven to 350°F. Grease and flour a 9×13-inch cake pan or line it with parchment paper.
02 - In a medium bowl, whisk together the flour, baking powder, baking soda, and salt until evenly distributed.
03 - In a large bowl, beat the sugar with vegetable oil (or melted butter) until thoroughly combined.
04 - Add eggs one at a time, mixing well after each addition. Stir in the vanilla extract.
05 - Fold in the mashed bananas and buttermilk (or yogurt) until just incorporated.
06 - Gradually add the dry ingredients to the wet mixture, folding gently until no flour streaks remain. Avoid overmixing to keep the crumb tender.
07 - If desired, gently fold in chopped nuts or chocolate chips until evenly distributed throughout the batter.
08 - Transfer the batter into the prepared pan, using a spatula to smooth the surface evenly.
09 - Bake for 35–40 minutes, or until a toothpick inserted into the center comes out clean.
10 - Let the cake cool in the pan for 15 minutes, then turn it out onto a wire rack to cool completely. Serve plain or topped with your preferred frosting.