DEV Community

Serguey Asael Shinder
Serguey Asael Shinder

Posted on

You Compared the Two Build Tools Side by Side and Paid for a Difference You Would Never Feel

Two build tools.

One afternoon
to choose.

You ran them both
on the same project,
in the same terminal,
one after the other.

Forty six seconds.

Thirty eight seconds.

Side by side,
eight seconds
looked enormous.

Almost a fifth faster.

So you chose the fast one,
and accepted
the configuration file
nobody could read.

Six months later
nobody remembers
the eight seconds.

Every build
starts while you
reach for your coffee.

Nobody ever sits there
with both tools open,
feeling the difference.

But everyone
feels the configuration.

Every new module.

Every upgrade.

Every time someone asks
why the cache
missed again.

Here is what happened.

Psychologists call it
distinction bias.

Christopher Hsee
and Jiao Zhang
described it in 2004.

When you compare options
side by side,
you predict
that small differences
will matter to you.

When you live with one option,
on its own,
you mostly
do not notice them.

The comparison
is a different situation
from the experience.

And you choose
in the comparison,
then live
in the experience.

Numbers make it worse.

Thirty eight
next to forty six
is easy to see.

The cost of a confusing config
has no number,
so it never sits
in the same table.

Here is what to do.

When you compare,
ask the question
in single mode:

if I only ever had this one,
would I notice?

Would anyone
complain about forty six seconds
if they had never seen thirty eight?

Write down
what you will do with each option
every week,
not just what you will measure once.

Try each option alone
for a few days,
not both
in one afternoon.

And give the things
you cannot benchmark,
readability,
upgrades,
the person who joins next year,
a row in the table anyway.

A difference you can see
is not always
a difference you will feel.

Choose for the life you will have
with the thing,
not for the minute
you spent comparing it.

– Serguey Asael Shinder

Top comments (0)