From a purely scientific standpoint, I'm not sure it really makes a big difference if we are talking about calorie-controlled situations here. If the difference between having a shake and not having a shake means 200 or so extra calories each day, then yes, it makes a difference.
However, from a pure practicality standpoint, I agree with Modok (Twice today! JFC WHAT is going on here?!?!) that I prefer not to eat right before bed. I'm IF'ing and I tend to eat my last meal and close off my 8 hour feeding period between 2130 and 2200 and then go to bed around midnight. I don't have issues with catecholamines keeping me up as my meals are all larger than what Modok probably eats since I'm IF'ing and he does (IIRC) more frequent meals, so my meals are still only partially digested by the time I get to sleep. The only exception to this is if I'm going to eat a very large meal (which by my standards, really means something), in which case I prefer to eat and then pass out immediately afterward.