oh, that's a good pov! thanks. it makes sense to consider making mistakes the rule and work from there
Write tests first and keep revising your code - making plenty of mistakes along the way - until the tests are green.
The quicker the test failure feedback loop, the quicker you'll fix the mistakes :)