Skip to content

ISP versioning architecture: level of duplication #66

@nick-gorman

Description

@nick-gorman

I think one of the main ISP versioning architecture questions is do you:

  1. completely duplicate the templater, just call a different version of the templater for each ISP version
  2. duplicate templater sub modules as need, and call different sub module versions depending on the ISP version
  3. or do you allow line by line switching for functionality
  4. another more flexibly approch might be that switching must always be of ispypsa function calls. To allow for changes to happen at any level but also keep the code relatively clean. For example,
if version == 1.0:
   df = vserion_1_function(df)
elif version == 2.0:
   df = vserion_2_function(df)
  1. You could also mix approach (1) with other approaches, so you have a unique create_template function for each version but then much of the code of the sub function might be shared between different version of create_template

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions