Preheat your oven to 350°F (175°C) and line two baking sheets with parchment paper.
In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.
In a large bowl, using a hand mixer or stand mixer, beat the softened butter, granulated sugar, brown sugar, and vanilla extract together until creamy and smooth.
Add the eggs one at a time, mixing well after each addition until fully incorporated.
Gradually add the flour mixture to the wet ingredients, mixing until just combined. Be careful not to overmix.
Fold in the chocolate chips and nuts (if using) with a spatula or wooden spoon.
Drop rounded tablespoons of dough onto the prepared baking sheets, leaving about 2 inches between each cookie.
Bake for 10-12 minutes, or until the edges are golden brown but the centers are still soft. Remove from the oven and let cool on the baking sheets for 5 minutes before transferring to wire racks to cool completely.