4 ms·
This is great advice, but I've never been able to do anything like this while working. I know, I know, you're supposed to get away from your terminal and eat i
by edw519 19y ago
This is great advice, but I've never been able to do anything like this while working.
I know, I know, you're supposed to get away from your terminal and eat in the other room. But I never do.
I either a. eat a meal while surfing or b. munch on something while coding. It's the munching while coding that I've never been able to do "mindfully".
The best coding munchies are almost always the worst things to eat, like microwave popcorn, chips, cookies, and soda. When you're 4 levels deep into a nested routine, who notices that the munchies are gone? I suppose I could eat fresh fruit or something like that, but honestly, has anyone ever gotten into the "coding zone" eating grapes?
- justindz 19y agoGrapes, bags of spinach, you name it. The trick is to not stock munchies that you don't want yourself to code on. If you don't have it, you can't eat it. The other trick is to not cut out all snacking but stock up on snacks that fill the void without expanding the void, so to speak. And drink a tall glass of water three minutes before you feel like snacking. It'll keep you hydrated, which is good, and you'll snack less on average. A lot of the munchies is actually dehydration (like late night snacking). Also, if you have peanuts or something and you're just watching TV rather than coding try eating them with chopsticks to slow you down so you notice when you're full. Once you get good at that, try peanuts with a fork or do the toss and catch or something ;-)
- jkkramer 19y agoI find if I gorge on carbs or rich foods during work time, I'll start to feel sluggish and want a nap. If I eat a small to medium portion of veggies and fruits, I'll be able to maintain (elevate even) my focus without the "food-ludes". I don't know if it's age (in my late 20s) or an increased interest in being attuned to my body, but food management has become critical to my daily productivity. So yeah, I get into the coding zone with grapes.
- scott_s 19y agoI always leave the office for lunch, just to get away. And I bring a book.
- DaniFong 19y agoThere are completely different snacks that are decent treats while/between coding. The trick is to make things that a little bit of a chore to cook -- things like eggs, or salads, or falafel. I like pita with tahini, or olives, or fruit leather. I also like soup -- in particular, hot and sour soup, when I'm feeling a chill :-) PS: If grapes aren't quite 'coding munchie' enough for you, try roasting with garlic, olive oil, pepper and salt. This really works. Mmm.