01 - Preheat oven to 375°F. Line two baking sheets with parchment paper.
02 - In a medium bowl, whisk together the flour, baking soda, and salt until evenly distributed.
03 - In a large bowl, beat the softened butter, granulated sugar, and brown sugar using an electric mixer until light, creamy, and fluffy.
04 - Add the eggs one at a time, mixing well after each addition. Stir in the vanilla extract until fully blended.
05 - Gradually beat the dry ingredient mixture into the wet ingredients on low speed until just combined. Avoid overmixing.
06 - Gently fold in the chocolate chips and chopped nuts (if using) with a spatula until evenly distributed throughout the dough.
07 - Drop rounded tablespoonfuls of dough onto the prepared baking sheets, spacing them about 2 inches apart to allow for spreading.
08 - Bake for 10 to 12 minutes, until the edges are golden brown but the centers remain soft and slightly underdone.
09 - Let the cookies cool on the baking sheets for 2 minutes, then transfer to wire racks to cool completely.