You should know what each function does since you were the one that built it, that is why writing an easy-to-read code is important. The size of the code is defined by the project itself and should not matter anyway.
Trying to make the code easy to understand in case you get lost (or even if you are in a project involved by multiple people) is what will help you fix the wrong syntaxes, calculations and parameters you accidentally missed.