Preheat your oven to 375°F (190°C).
In a small bowl, combine the flour, baking soda, and salt. Set aside.
In a large mixing bowl, beat the softened butter, granulated sugar, brown sugar, and vanilla extract together until creamy.
Add the eggs one at a time, mixing well after each addition.
Gradually add the flour mixture to the butter mixture, stirring until just combined.
Fold in the chocolate chips and nuts, if using.
Drop rounded tablespoons of dough onto ungreased baking sheets, spacing them about 2 inches apart.
Bake in the preheated oven for 9 to 11 minutes, or until the edges are golden brown.
Allow the cookies to cool on the baking sheets for 2 minutes before transferring them to wire racks to cool completely.