Knaph

Edge cases

Inputs at the edges of what a program handles - exactly on a boundary, zero, a value that shouldn't happen - where most bugs in decisions hide.

Depth 1 · Foundation

You test every boundary in a rule on it and on each side of it, recognise an off-by-one error, think of zero and impossible input, and guard a function against them with an early return.

Sign in to prove what you know with a short quiz, see how deep you've gone, and earn XP for it.

Sign in with Google