Preheat your oven to 375°F (190°C). Line baking sheets with parchment paper.
In a medium bowl, whisk together the flour, baking soda, and salt. Set aside.
In a large mixing bowl, cream together the softened butter, granulated sugar, brown sugar, and vanilla extract until smooth and fluffy.
Add the eggs one at a time, mixing well after each addition.
Gradually add the flour mixture to the wet ingredients, mixing until just combined.
Fold in the chocolate chips and nuts (if using) until evenly distributed.
Drop rounded tablespoons of dough onto the prepared baking sheets, leaving space between each cookie.
Bake in the preheated oven for 9 to 11 minutes, or until the edges are golden brown.
Remove from the oven and let the cookies cool on the baking sheets for 5 minutes before transferring them to wire racks to cool completely.