Preheat oven to 355°F (180°C). Line a baking pan with parchment paper or grease with oil.
In a large mixing bowl, whisk together flour, carob, baking powder and salt.
½ cup flour, ⅓ cup carob, ¼ teaspoon baking powder, ¼ teaspoon salt
In a second mixing bowl, whisk eggs until the yolks and whites are fully combined
2 large eggs
Add the sugar, oil and vanilla extract and whisk again until the mixture is thick and fully combined.
¾ cup sugar, ½ cup oil, 1 teaspoon vanilla extract
Fold the wet ingredients into the dry ones using a spatula. Gently incorporate the pecans or chopped walnuts if using.
Add the mixture to the prepared baking pan and bake for 30-35 minutes or until a toothpick inserted into the center comes out clean or with just a few moist crumbs. Remove from the oven and let the brownies sit in the tray for another 10 minutes. Then transfer to a cooling rack and let cool completely.