You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Over the summer I was able to get around this to handle c3d files with less than 50 markers. But to truly trust implementation and expand it to any marker number a refactoring is required.
The hard-coded marker number should be removed from the code by refactoring the areas that handle this hard-set number. First, hard-coded "50"s should be replaced with a variable. Then, hard-coded arrays (any other things affected by marker number) should have the way they interact with the code base abstracted such that any number of markers is ok. This may take awhile if done correctly. I will be referencing Martin Fowler's Refactoring: Improving the Design of Existing Code as a source of inspiration / design guidelines for my part in the refactoring process.
The text was updated successfully, but these errors were encountered:
The program is designed to handle 50 markers.
Over the summer I was able to get around this to handle c3d files with less than 50 markers. But to truly trust implementation and expand it to any marker number a refactoring is required.
The hard-coded marker number should be removed from the code by refactoring the areas that handle this hard-set number. First, hard-coded "50"s should be replaced with a variable. Then, hard-coded arrays (any other things affected by marker number) should have the way they interact with the code base abstracted such that any number of markers is ok. This may take awhile if done correctly. I will be referencing Martin Fowler's Refactoring: Improving the Design of Existing Code as a source of inspiration / design guidelines for my part in the refactoring process.
The text was updated successfully, but these errors were encountered: