Preheat your oven to 350°F (175°C). Line a baking sheet with parchment paper.
In a large mixing bowl, cream together the butter, brown sugar, and granulated sugar until light and fluffy.
Beat in the eggs one at a time, then stir in the vanilla extract.
In another bowl, whisk together the flour, baking soda, cinnamon, and salt. Gradually add this to the wet mixture, mixing until just combined.
Fold in the grated carrots, chopped walnuts, and raisins.
Drop spoonfuls of dough onto the prepared baking sheet, spacing them about 2 inches apart.
Bake for 12 minutes, or until the edges are golden brown. Allow to cool on the baking sheet for a few minutes before transferring to a wire rack to cool completely.