Both boiling and roasting are good methods for cooking carrots. Boiling is a quick and easy method that can help retain some of the nutrients, while roasting provides a delicious flavor and crispy texture.