Skip to content

Conversation

@mgolosova
Copy link
Collaborator

@mgolosova mgolosova commented Jul 29, 2020

  1. Extracting a specific field from a dataset name is a single logical
    operation -- so it is much more readable to have a function call "give
    me data format" then the whole algorithm's implementation within a more
    high-level operation (in this case, getting a list of formats that
    should be associated to the dataset).

  2. Dataset name parsing doesn't look like a stage-specific functionality,
    more like a whole use-case specific one. So it is moved to the (new)
    case-specific module of the common library.


(Partly) overrides #371

1. Extracting a specific field from a dataset name is a single logical
operation -- so it is much more readable to have a function call "give
me data format" then the whole algorithm's implementation within a more
high-level operation (in this case, getting a list of formats that
should be associated to the dataset).

2. Dataset name parsing doesn't look like a stage-specific functionality,
more like a whole use-case specific one. So it is moved to the (new)
case-specific module of the common library.
@mgolosova mgolosova merged commit 5e7741c into master Jul 29, 2020
@mgolosova mgolosova deleted the data4es-093-refactoring branch July 29, 2020 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants