Skip to content

Add Update functionality#3

Merged
pyk595 merged 1 commit intomasterfrom
branch-C-Update
Feb 10, 2022
Merged

Add Update functionality#3
pyk595 merged 1 commit intomasterfrom
branch-C-Update

Conversation

@pyk595
Copy link
Copy Markdown
Owner

@pyk595 pyk595 commented Feb 10, 2022

Tasks are updated by deleting existing tasks and repopulating
with an updated version of the same task.

This behaviour causes potential loss in information.

Creating an update command allows us to maintain the task objects
in the same list while changing the attributes in one command.

Let's add the update command to allow mutability of task objects.

This behaviour is prefereable because deleting objects and adding
copies of the same object is cumbersome and error prone.

Tasks are updated by deleting existing tasks and repopulating
with an updated version of the same task.

This behaviour causes potential loss in information.

Creating an update command allows us to maintain the task objects
in the same list while changing the attributes in one command.

Let's add the update command to allow mutability of task objects.

This behaviour is prefereable because deleting objects and adding
copies of the same object is cumbersome and error prone.
@pyk595 pyk595 merged commit 5e24c78 into master Feb 10, 2022
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.

1 participant