News for hackers. Stuff that matters.
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.