Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

refactor(dccd): Simplify both the interface and the implementation #909

Closed
wants to merge 1 commit into from

Conversation

vicb
Copy link
Contributor

@vicb vicb commented Apr 16, 2014

@mhevery this is the change we've talked about last week.

This PR handle the Collections only, Maps are still TBD.

There might be a few things to polish but I think the PR is mergeable. It brings:

  • A cleaner interface (AddedItem, RemovedItem, MovedItem and the likes are implementation details. The IF now only exposes a CollectionChangeItem),
  • The implementation is also cleaner, I'm happy when I see the amount of LOC going down,
  • I've also added some inline docs.

There's not perf impact to expect for this change (might be marginally faster ?) however having a simpler code is always good for maintainability.

If you like it please merge it, I'll do the map as part of an other PR. Thanks.

/cc @caitp

@vicb vicb added cla: yes and removed cla: no labels Apr 16, 2014
@vicb vicb closed this in d505f84 Apr 17, 2014
vicb added a commit to vicb/angular.dart that referenced this pull request Apr 21, 2014
dart-archive#909 cont'd. This commit is for the map changes (909 is for collection).
vicb added a commit that referenced this pull request Apr 22, 2014
#909 cont'd. This commit is for the map changes (909 is for collection).

Closes #935
vicb added a commit that referenced this pull request Apr 22, 2014
#909 cont'd. This commit is for the map changes (909 is for collection).

Closes #935
vicb added a commit that referenced this pull request Apr 22, 2014
#909 cont'd. This commit is for the map changes (909 is for collection).

Closes #935
vicb added a commit that referenced this pull request Apr 30, 2014
#909 cont'd. This commit is for the map changes (909 is for collection).

Closes #935
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

1 participant