Generally if I made the vegetable I would immerse it in some salted water. This helps prevent it from getting darker if you leave it cut for some time and in some cases reduce bitterness. But, with most recipes, I have seen that not salting the eggplant does not really make much of a difference.