--

The semicolon insertion is so evil, that it also hurts you when you always use semicolon, ex:

function three() {

return

3;

}

Because of it, I always use Prettier to avoid surprises. It automatically injects semicolon, so I do not have accidental mistakes. After all, I am only human.

But anyway, I always find sad end lines like:

const mood = areYou( "happy" );

The ); looks like :,( , a left-handed crying face.

So, sometimes I ask prettier to remove them, just to remain in the good mood.

But never, never, never, I want to work without Prettier. It is too dangerous.

--

--

David Rodenas PhD
David Rodenas PhD

Written by David Rodenas PhD

Passionate software engineer & storyteller. Sharing knowledge to advance our skills. Join me on a journey of discovery in the world of software engineering.

No responses yet