How to Make the Perfect Chocolate Chip Cookie, According to Science

No one is complaining about a warm-from-the-oven chocolate chip cookie, right? Except, well, maybe it would be even better if it were crispier? Or crispy on the outside but chewy on the inside? Or just a bit cakier? Here’s a cheat sheet for hitting that sweet spot, no matter your preference. (Hint: It’s all about the sugar.)