Current implementation uses functions and globals to build object code. This approach has critical technical debt and not maintainable. Also uses global variables and etc which is prevents multi-tasking.
This PR implements same algorithm with structures. This approach makes algorithm more multi-tasking friendly because all structure instances are independent from others. Also increases maintainability, reduces technical debt.
Checklist
[x] A description of the changes in this PR is mentioned above.
[x] All the new and existing tests pass.
[x] The code follows the code style and conventions of the project.
[x] No plagiarized, duplicated, or repetitive code that has been directly copied from another source.
[x] I have read the whole Contributing guidelines of the project and its resources/related pages.
Description
Current implementation uses functions and globals to build object code. This approach has critical technical debt and not maintainable. Also uses global variables and etc which is prevents multi-tasking.
This PR implements same algorithm with structures. This approach makes algorithm more multi-tasking friendly because all structure instances are independent from others. Also increases maintainability, reduces technical debt.
Checklist