progamming

Comes from drawing only that which is not visible

There’s a term in drawing called “negative space”. The idea is very simple: you don’t draw what’s there – you draw what’s not there.

function calculateArea(width: number, height: number) {
  assert(width > 0);
  assert(height > 0);
  return width * height;
}

Negative Space shines if your language makes your typing work difficult, assert away. The point is, use Negative Space programming when it’s really necessary. It is a powerful tool, that comes with responsibilities.

this has nothing to do with typing it has to do with invariants. imagine you have a private function that requires some state of the world to exist. it MUST NOT BE CALLED EVER without that. So if it breaks from its REQUIREMENT crash the program with the state that lead up to this and that way you can fix your program based on the state that lead to the issue – ThePrimeagen

Lookup