In a medium bowl, whisk together flour, baking soda, and salt until well combined.
In a large bowl or stand mixer, beat softened butter for 1 minute until creamy.
Add both sugars to the butter and cream together until light and fluffy (3-4 minutes).
Beat in eggs one at a time, scraping down the bowl after each addition.
Add vanilla extract and mix until incorporated.
Gradually add dry ingredients to wet ingredients, mixing on low speed until just combined.
Fold in chocolate chips and nuts (if using) until evenly distributed.
Cover bowl with plastic wrap and refrigerate for at least 2 hours or overnight.
Preheat oven to 375°F (190°C) and line baking sheets with parchment paper.
Scoop chilled dough into rounded tablespoons, placing 2 inches apart on prepared sheets.
Bake for 12-14 minutes, or until edges are lightly golden and centers appear slightly underbaked.
Let cookies cool on baking sheets for 5 minutes before transferring to wire rack.