Preheat the oven to 350°F (175°C).
In a bowl, whisk together the flour, baking soda, and salt.
In a separate bowl, cream together the softened butter, granulated sugar, and brown sugar until light and fluffy.
Beat in the eggs one at a time, followed by the vanilla extract.
Gradually add the dry mixture to the wet mixture, mixing until just combined.
Fold in the chocolate chips or nuts, if desired.
Scoop tablespoon-sized amounts of dough onto prepared baking sheets, spacing them about 2 inches apart.
Bake in the preheated oven for 10 to 12 minutes, until the edges are golden brown.
Remove from the oven and let cool on the baking sheets for a few minutes.
Transfer the cookies to wire racks to cool completely.