What is the difference between, for example, "el comer" and just "comer" when used as a noun? The case I'm thinking of would use a gerund in English. For example,
El comer chuches antes de cenar no es bueno.
Comer chuches antes de cenar no es bueno.
vs. the English
Eating sweets before supper isn't good.
In the Spanish examples, what difference in meaning, if any, is there when using the article "el?" This specific example is just for discussion, but I'd like the answer to address the use general.