I should not recommend that. First of all, it comes a time where you are just making noob mistakes on your code and don't know where you're blowing it, after 6 or 8 hrs of work. I do recommend you to take breaks you could do the 25 minutes of work and 5 minutes of rest; and after a lot of hours increment your breaks to 15 minutes. Go outside to eat, distract yourself and don't eat a lot of sugar or bread, eat healthy to last longer. And for god sake don't skip sleep hours, take a nap or your whole 8hrs.