11-19-2020, 12:00 PM
cycle 15, day off #1:
I'm glad to have taken the decision to make some unit testing.
It did allow 2 things. First, I have identified a major way to refactor an existing class into a base and derived class and by doing better separate functionality and possibly will allow down the road to reuse the base class with some other needs.
I like to keep modules small. It makes than more maintainable and easier to understand.
But most importantly, the part of code that I did test, was buggy beyond what could be usable.
Now that I have fixed everything that I have seen wrong, things start to work as expected... And even possibly better than never before too!
I'm glad to have taken the decision to make some unit testing.
It did allow 2 things. First, I have identified a major way to refactor an existing class into a base and derived class and by doing better separate functionality and possibly will allow down the road to reuse the base class with some other needs.
I like to keep modules small. It makes than more maintainable and easier to understand.
But most importantly, the part of code that I did test, was buggy beyond what could be usable.
Now that I have fixed everything that I have seen wrong, things start to work as expected... And even possibly better than never before too!