JavaScript

91 articles 路 all categories

3 articles from December 2021 show all

pg-mem and jest for smooth integration testing

The cult of TDD leads you down a dark and stormy path towards brittle code with a false sense of security. But there is a better way. A sweet spot between unit and heavy integration.

Why null checks are bad

Every null or undefined check doubles the number of tests you need 馃槺

Small choices can wreck your codebase

wanna see the strangest looping construct I've found in production code?