There's incidental complexity - the essential parts of the problem.
And then there's accidental complexity - stuff you have to do to solve the problem, plus the make-work because you over-engineered it...
Turns out, typing the code by hand was accidental complexity.