Some people believe that salting legumes at the beginning of the cooking process tends to make them tough, so they add the salt at the end. I've never tested it to know, I always add it at the end when cooking any dried bean or lentils.