Skip to content

Code review redundant comments. #4

Description

@Spear-e

Redundant comments here
Lines: 11 12 17 83 93

with open(DATA_FILE, "w") as f:  # gives program write permissions
    json.dump([], f)  # initializes to empty list

json.dump([], f) # initialize as empty JSON list
deleted_item = item # save item to include in response
'item': deleted_item # include deleted item

These comments explain fairly obvious parts of the code and in the case of 12 and 17 and 83 and 93 are repetitive with each other.

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