Eggplant cooks up soggy because it contains so much water. To combat the sogginess, we salt the eggplant for 40 minutes which draws out excess water. This makes the eggplant both firmer and more flavorful.