-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: test and refactor populateTimezones function in (ccdaservice) #6818
refactor: test and refactor populateTimezones function in (ccdaservice) #6818
Conversation
Hi @raskolnikov-rodion |
Hi @sjpadgett , thanks for chiming in! Besides facilitating automated testing, the refactors help with code maintainability and modernization. Here's an overview of the process:
Occasionally, I also modify some of the generated data and see if there are any surprises in the report. Steps 2 and 4 is where most of the fun is. The other parts are often quite dry, but is the best way I know to do refactors with confidence. It follows ideas from books on refactor and working with legacy code. If you have any suggestions on how to improve the testing or if there are any other datasets available, I'd be happy to include in the process. It makes sense to be careful, especially with a critical feature for certification 🙂 |
Thanks for the effort to give me a detailed reply and it put me at ease. A sound engineering approach. If you get into the node apps template builder engine we should have a conversation so I can help you understand where we started and how we have had to modify over the years to get to where we are today. Builder engine came from a Blue Button project based on c32/hl7 rel 1.0 templates. We'd been better served to have developed from scratch using twig, mustache or similar. |
another great improvement! bringing in. |
sounds cool! It will take me a while to get through the ccda script, but I'd be happy to work on other parts of the project as well |
No description provided.