I wanted to know which one of these would be more time-efficient when implementing new features/whatever in a library:
- Write it little by little, perfecting each stage
- Write the entire feature, and debug the whole thing at once.
I just wanted some thoughts on this. Thanks 🙂
It is generally advised to do incremental coding ( your first option ) so that your are sure that at least some part of your feature is working before you move on.
Debugging everything at once will be a big headache as you will not know which part of the code the error is in.
In the long run , the first way will definitely be faster than the second one.