Skip to content

Split the function into smaller pieces.. #18

Description

@Hajto

def extract(extractor) do

Usually it is a good idea to split that giant function into smaller pieces.

Pieces like these:

case SnapshotExtractor.update_extractor_status(extractor.id, %{status: 1}) do

They exist only for side effects and will form nice separate functions.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions