01 - Preheat the oven to 350°F. Line two baking sheets with parchment paper.
02 - In a medium bowl, whisk together the flour, baking soda, and salt until evenly blended.
03 - Using a mixer, beat the softened butter with granulated and brown sugars until light and creamy, approximately 2 to 3 minutes.
04 - Add eggs one at a time, mixing thoroughly after each, then fold in the vanilla extract.
05 - Gradually add the dry ingredients to the wet mixture, stirring until just combined to avoid overmixing.
06 - Fold in the semisweet chocolate chips and nuts if using, ensuring even distribution.
07 - Drop tablespoon-sized portions of dough onto prepared baking sheets, spaced about 2 inches apart.
08 - Bake in the preheated oven for 10 to 12 minutes, until edges are golden but centers remain soft.
09 - Allow cookies to cool on baking sheets for 5 minutes before transferring to a wire rack to cool completely.