Preheat the oven to 350°F (175°C).
In a large mixing bowl, cream together the softened butter, brown sugar, and granulated sugar until smooth and fluffy.
Add the eggs one at a time, mixing well after each addition. Stir in the vanilla extract.
In a separate bowl, whisk together the all-purpose flour, baking soda, and salt.
Gradually add the dry ingredients to the wet ingredients, mixing until just combined.
Fold in the chocolate chips and chopped nuts, if using.
Using a small scoop or tablespoon, drop dough onto ungreased baking sheets, spacing them about 2 inches apart.
Bake in the preheated oven for 10-12 minutes, or until the edges are lightly golden.
Remove from the oven and let cool on the baking sheets for a few minutes before transferring to wire racks to cool completely.