News for hackers. Stuff that matters.
Re:Ask HN: Do you write tests before the implementation? by corodra on Friday November 15, 2019 @08:34AM (#21544606)
Suddenly I feel very lonely for the fact I do actually clean the kitchen during and right after cooking...
Re:Ask HN: Do you write tests before the implementation? by hombre_fatal on Friday November 15, 2019 @09:42AM (#21545152)
It's a weird quirk of the brain how easy it is to wait until the food hardens onto the cooking utensils before cleaning it (sometimes needing a hammer and chisel to remove it) rather than just rinsing it off immediately with water. Yet, despite knowing this, picking the former route every damn time anyways.

If you're like this, try putting on some small bluetooth headphones. Now cleaning the dishes just becomes a way to keep yourself busy while listening to an interesting podcast.

Re:Ask HN: Do you write tests before the implementation? by corodra on Friday November 15, 2019 @10:14AM (#21545441)
It's weird... I'm a real lazy person. I do the dishes immediately because of this reason, it's faster and easier. I absolutely hate doing crusty dishes. So, I'm just confused in general why people wait. Its straight up less effort to do it sooner than later.
Re:Ask HN: Do you write tests before the implementation? by na85 on Friday November 15, 2019 @11:28AM (#21546172)
Do you have kids? I always had the same opinion until I had my daughter, and then all of a sudden there is a 2 year old who needs supervision and it becomes easier to clean up after bed time.
Re:Ask HN: Do you write tests before the implementation? by corodra on Friday November 15, 2019 @11:38AM (#21546274)
Procrastinating and having your attention pulled in multiple places are two different problems. You acknowledge it's easier and want to do the dishes immediately. But when you realize your two year old is painting the walls with poop or filled the toilet with all the toilet paper and tried flushing, resulting in a flood... Everyone can agree, that takes slightly more precedence than dishes.
Re:Ask HN: Do you write tests before the implementation? by hombre_fatal on Friday November 15, 2019 @12:25PM (#21546717)
> So, I'm just confused in general why people wait.

Really, though?

It's simple procrastination which is always illogical.

Present-self buys temporary comfort at the expense of future-self.

Re:Ask HN: Do you write tests before the implementation? by TheGrumpyBrit on Friday November 15, 2019 @10:42AM (#21545714)
I fill the washing up bowl (or just the sink for the Americans) with hot water while my food is cooking. This has quite a few advantages:

1. It breaks the psychological barrier of actually starting the task of washing up, and because I'm doing other things, I don't feel like I'm waiting around for the water.

2. Dishes created during the cooking process can be cleaned quickly as they're used, without interrupting my flow. That means there's no daunting pile of dishes at the end of the meal.

3. When you finish eating, the water is already there ready for use. It's a simple dunk and wipe which is almost as quick as dumping the plates on the side.

Re:Ask HN: Do you write tests before the implementation? by that_jojo on Friday November 15, 2019 @09:46AM (#21545186)
Every time I clean right after I cook I'm stunned by how quick, easy and painless it is.

You know, the two times a year I actually do it.

Re:Ask HN: Do you write tests before the implementation? by LanceH on Friday November 15, 2019 @11:08AM (#21545954)
The difficulty for me is that a lot of food is best right off the stove. Then I have to clean it quickly afterward while happy and full, which is difficult.
Re:Ask HN: Do you write tests before the implementation? by stackola on Friday November 15, 2019 @08:46AM (#21544684)
And I feel glad I still have my mom and am calling her regularly.

Call your moms!

Re:Ask HN: Do you write tests before the implementation? by 52-6F-62 on Friday November 15, 2019 @10:07AM (#21545369)
Pff. My mother's a modern woman. We text and email.

(I feel bad I don't phone more often)

Re:Ask HN: Do you write tests before the implementation? by rch on Friday November 15, 2019 @11:22AM (#21546103)
You're not alone. It's a really satisfying practice, and for me it's almost part of the recipe. I've learned not to 'chip in' too much when others are cooking a meal though.

(I've just realized that's basically what I'd say about TDD too)

Re:Ask HN: Do you write tests before the implementation? by iamsb on Friday November 15, 2019 @11:00AM (#21545884)
Me too. In fact I dont usually eat without having cleaned up. I like to finish my day after dinner without having to worry about things I have to do. Post dinner is just for things I want to do.
Re:Ask HN: Do you write tests before the implementation? by ivalm on Friday November 15, 2019 @11:33AM (#21546220)
You are not alone! In that list cleaning the kitchen is perhaps the only thing I do sufficiently diligently:(
Re:Ask HN: Do you write tests before the implementation? by workthrowaway on Friday November 15, 2019 @12:44PM (#21546900)
me too! you know, that "flow" thing they talk about, nothing puts me quicker in the flow zone than washing the dishes. must have something to do with the sound of running water maybe...
Re:Ask HN: Do you write tests before the implementation? by jammygit on Friday November 15, 2019 @11:36AM (#21546257)
You’re not alone. Cleaning while you cook is the only way
Re:Ask HN: Do you write tests before the implementation? by vkaku on Friday November 15, 2019 @09:48AM (#21545212)
I do it too. But incrementally.
Re:Ask HN: Do you write tests before the implementation? by docuru on Friday November 15, 2019 @11:15AM (#21546026)
I guess you own a house then!