There are a lot of opinions on this. There are some who say that salting before cooking can lead to tough, watery eggs, but honestly I haven't noticed the difference. I add a pinch of salt immediately before starting cooking and salt my serving to taste at the table.