TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Ask HN: What do you snack on while coding?

27 pointsby mgdvover 3 years ago
I&#x27;m finding that working from home often means vising the fridge&#x2F;kitchen more<p>What are you snacks of choice while you hack away?

37 comments

simonsayssoover 3 years ago
I try to avoid snacking whenever possible but you always have to plan for at least one trip to the kitchen per day. I can’t tell if there’s some subtext in your question about “healthy” snacks, but that’s what you’re gonna get from me.<p>Bell peppers are an awesome snack. Just sweet enough to stop the craving and I never need more than one.<p>I boil 6 eggs whenever I’m out and leave then in a bowl in the fridge. I love boiled eggs but rarely have more than 1 at a time, and I’ll never take the time to boil a new one in the moment. Boiling 6 at once takes care of breakfast and snacks for a couple days.<p>15 almonds is about 100 calories. When I want something crunchy and savory I’ll eat that with a bit of salt.<p>Yogurt. Again, it’s one of my favorite snacks and 1 cup is a bit under 200 calories.<p>Stay hydrated. It’s amazing how often you’re actually slightly thirsty but feel like you need food. I keep a liter of water at my desk.<p>If I find myself hanging out in the kitchen for any longer than 1 item, I go for a walk or stretch for a few minutes. I need to physically distract myself to give my body the time to realize it just ate something.<p>When I absolutely need sugar, I try to reach for an apple but it often transforms into a handful of Mike and Ike’s.
评论 #29941058 未加载
s-ltedover 3 years ago
I think snacks are dangerous. Eat while your attention is elsewhere, grow obese, suffer ill health.<p>And going away to prepare a meal gives me time to step back and think over the bigger picture of whatever I’m in the middle of.
Mountain_Skiesover 3 years ago
I used to snack on salted unshelled sunflower seeds. The process of sucking the salt off the shell, breaking the shell open in my mouth, separating the two, spitting out the shell and swallowing the sunflower seed was just the right level of physical distraction to block out most other external stimuli while not breaking my coding concentration. These days I don&#x27;t snack but if I did, I&#x27;d probably go back to sunflower seeds. The pile of chewed up shells is a bit unsightly, even if you have a paper towel to sit them on before dumping them into the trash, so that&#x27;s something to keep in mind if you share your workspace with others.
incanus77over 3 years ago
My go-to is cashews. I used to eat raw, unroasted, unsalted cashews, but during the pandemic, I developed a sensitivity from eating too many, I guess? (tingling mouth&#x2F;tongue, elevated heart rate) so I’ve recently started roasting them myself, which takes care of the relevant (natural) bacteria. Put them in a pan for 15 minutes at 350F. They taste much better than store bought roasted nuts, too.<p>Other favorites:<p>- Cheddar cheese<p>- Beef&#x2F;turkey jerky<p>- Salami or other thin-cut cured meats<p>It’s important to watch salt intake, though. Cheap stuff generally has more.<p>And then every afternoon, after 3 or 4, coffee and a “coffee snack”, usually a fig newton or other fresh baked good.
评论 #29936847 未加载
评论 #29937807 未加载
bravetravelerover 3 years ago
Not much of a snack eater personally, in the odd situation where it comes up I&#x27;ll have a banana or something.<p>Caffeine though, that&#x27;s my weakness
评论 #29937342 未加载
kevinventulloover 3 years ago
High carbonation sparkling mineral water. It gives that same “hit” as sipping a can of soda, but is much healthier.
评论 #29937908 未加载
Ceriumover 3 years ago
I drink a lot of tea. Snacks are usually fruit or nuts. I reserve unhealthy snacks like chips for a rare night of late work.
jstx1over 3 years ago
Water and coffee in the first half of the day. Water only in the second half. Snacks don&#x27;t work for me at all.
NoSorryCannotover 3 years ago
I avoid eating before dinner time, say five o&#x27;clock in the afternoon. I try not to keep snackable foods in stock.<p>I kind of gave up on this when the pandemic began and my weight went out of control. Then, I would have said peanut butter pretzels. I&#x27;m back on the wagon now.
mikro2ndover 3 years ago
Alcohol. Lots and lots of alcohol.
huehehueover 3 years ago
I stopped grazing when WFH started, since I don&#x27;t care to replicate the office&#x27;s snack stash.<p>I signed up for a premade meal service, so I throw a box in the microwave and eat whatever&#x27;s inside (e.g. salmon&#x2F;rice&#x2F;veggies). I end up eating like 3 lunches a day this way, but I&#x27;m trying to gain weight so it works out.
grue_someover 3 years ago
Bugs
评论 #29937113 未加载
rendallover 3 years ago
I don&#x27;t snack, because I&#x27;ll get fat. I saw a guy who snacked on carrots, cucumbers and tomatoes throughout the day that he brought to work in the morning. Even though I think that&#x27;s pretty cool, I never picked up that habit
JSONderuloover 3 years ago
Just coffee these days. I feel like I stopped snacking in the last 2 years. I snacked much more when we were in the office. lots of trailmix, wasabi peas, M&amp;Ms, and bowls of cereal. I always had wet wipes lol because of snacks.
tluyben2over 3 years ago
I actually forget to eat (including snacking) while coding. It is not good as when I come out, I eat fast and more than I should. However, I have not been able to break these habits in the past 3 decades.
superfamicomover 3 years ago
I&#x27;ve developed a routine of walking to my local grocery store (Metropolitan Market) and getting a soup from their lunch counter &#x2F; deli area and sipping on it while I work.
yakubinover 3 years ago
My most common snack is a green sour apple (granny smith) sliced into 8 semi-equal pieces with the core removed. I put them on a small plate and subconsciously eat while thinking.
cf100clunkover 3 years ago
Depends if the keyboard I&#x27;m using is easily cleanable. If not, I avoid anything crumbly, drippy, or apt to leave orangey-coloured dust on my fingers.
评论 #29937219 未加载
errantmindover 3 years ago
I don&#x27;t snack. I avoid carbs until I eat my one meal a day.<p>The closest I get to a snack is the heavy whipping cream in my coffee in the morning.
dragosmocriiover 3 years ago
Ever since I started wearing my Invisalign trays, I do zero snacking. I feel great though, since my eating habits are better
muzaniover 3 years ago
Water&#x2F;tea. Anything else seems like it could be an unhealthy habit. Even the tea is pushing it because of the sugar.
elevanationover 3 years ago
Mini-carrots and&#x2F;or mini tomatoes.
评论 #29936976 未加载
samorozcoover 3 years ago
Snacks typically make me feel drowsy or lose concentration. I will typical eat gum if I need something.
cyphergover 3 years ago
if you&#x27;re body says it&#x27;s hungry, feed it.<p>i like mixed nuts, hummus, dark chocolate covered almonds, bananas, apples (great air fried with cinnamon), tons of sparkling water, coffee, date rolls, cliff bars, dark chocolate, spicy sichuan peanuts, dried mango<p>edit: almost forgot fancy cheese!
trinovantesover 3 years ago
Almonds, crunchy and healthy<p>(yes I&#x27;m aware they&#x27;re pretty bad for the environment)
giantg2over 3 years ago
My favorite snack while coding is homemade beer and wine.
kleer001over 3 years ago
Tea, water. Sometimes a digestive biscuit with said tea.
wheelerof4teover 3 years ago
Just cofee. I don&#x27;t eat during the coding sessions.
philip1209over 3 years ago
&quot;Simply Gum&quot;. I like the fennel flavor.
BlueTrashover 3 years ago
grapes old grapes that you can drink<p>(but really i do love grapes) maybe celery or baby carrots. the high water content keeps me awake
for1nnerover 3 years ago
hummus with:<p>- veg<p>- pita&#x2F;bread<p>- crackers<p>- cheese<p>- fruits (olives, dates, apples, pear)<p>easy, riffable, modifiable (add olive oil, garlic, lemon zest, fresh pepper, jam). Pretty healthy.
fknorangesiteover 3 years ago
Nothing.
jsiaajdsdaaover 3 years ago
pizza, french fries, ice cream, chips, doughnuts, chocolate, pretzels
fistfucker3000over 3 years ago
Non caffeinated tea
ejssover 3 years ago
coffee in the morning and a decaf in the afternoon
drostover 3 years ago
Cheese and salami
1MachineElfover 3 years ago
peanut butter filled pretzel bites