This is a medical query and I am sharing two related articles.
The articles cited point the health risks involved in the late night snacking. This is an important topic for those who work for long hours all through the date in meeting many deadlines,and have the habit of snacking (tea, biscuits, peanuts, ice-cream, cake, donuts, potato or corn chips, etc). I have heard of some friends who stay up late in the nights to watch some sports or blockbuster movies on TV.
Your views on this topic are welcome. - Sundar
http://timesofindia.indiatimes.com/life-style/health-fitness/diet/Resist-that-midnight-snack-attack/articleshow/7291616.cms
http://www.theatlantic.com/health/archive/2012/06/why-late-night-snacking-is-bad-for-you/259085/