Always in Moderation
If you decide to drink coffee and beer while you’re working, you should stick to no more than two cups of coffee or a couple of beers per sitting, and try to do this no more than once or twice per week.
Coffee and beer shouldn’t be thought of as magic bullets for creativity. They are ways to create chemical changes that occur naturally in your brain with a healthy lifestyle. (Quality sleep patterns and allowing yourself to take breaks by splitting your day into sprints will do the same trick.)
But, if you have to choose between coffee or beer, think about what type of task you are about to do and make sure you don’t over-drink.
Too much of either and you’ll lose the benefits of both.