Skip to content

ext_code and ext_str are inconsistent with ext_code_files and ext_str_files #101

Description

@mariusgrigoriu

ext_code and ext_str take a map of variable names and values, but ext_code_files and ext_str_files use parallel arrays. In my opinion, the map is a much better experience since it is possible for the user to accidentally transpose values in a larger list without noticing.

Any reason to keep the parallel arrays or would it be ok to switch everything to a map?

I was getting started on a PR to #98 but this style issue needs to be resolved prior to introducing
more inconsistency.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions