Testing
Testing means writing extra code whose only job is to check that your actual code behaves correctly — automatically, instead of you manually clicking through the app every time you make a change.
test "adding 2 and 3 equals 5":
assert add(2, 3) equals 5
Running this automatically after every change catches the moment a new change accidentally breaks something old — long before a user ever would.