I think it's different for each person. (As a yo-yo dieter) I've noticed that I lose weight faster by eating less *carbs* before I go to bed. I can eat all the vegetables I want, but the moment I stick a slice of bread in my mouth, I know I'm not going to see a loss on the scale the next day.
I also avoid high sodium foods in the evenings because I wake up puffy, no matter how much water I drink during the day. This isn't a weight loss thing, I just hate waking up w/ a fat feeling face.
OTOH, I have friends who SWEAR by carb-loading before bed to prep for their morning workouts (endurance runners, mostly).
tl;dr it depends on your body, your health goals, and your diet!