Preheat your oven to 350°F (175°C).
In a large mixing bowl, combine the corn, milk, and eggs, whisking until smooth.
Add the sugar, melted butter, baking powder, salt, and pepper. Mix well.
If using, fold in the shredded cheese for extra flavor.
Pour the mixture into a greased baking dish.
Bake in the preheated oven for 45 minutes or until the top is golden brown.
Check for doneness by inserting a toothpick; it should come out clean.
Remove from the oven and let it cool for a few minutes.
Garnish with fresh herbs before serving.
Enjoy your delicious corn pudding as a side dish!