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
This provides a clean separation between the generator which creates a data structure containing all the info relating to the properties, and the logic that generates the actual language specific files.
The idea is that any time additional data is needed in the data structure to accommodate a new language, this can be added to the generator. However the logic that generates the files is neatly packaged in each template.
This separation of concerns increases maintainability, and makes #29 easier
The text was updated successfully, but these errors were encountered:
Taking inspiration from this project:
Which uses template files like this:
We should refactor to use https://mozilla.github.io/nunjucks/
This provides a clean separation between the generator which creates a data structure containing all the info relating to the properties, and the logic that generates the actual language specific files.
The idea is that any time additional data is needed in the data structure to accommodate a new language, this can be added to the generator. However the logic that generates the files is neatly packaged in each template.
This separation of concerns increases maintainability, and makes #29 easier
The text was updated successfully, but these errors were encountered: