Closed
Description
Two reasons for that:
- It is easier to discover there. Since we are talking about one of the most often used operation, it is logical to put it into the "root" class for better visibility.
- The implementation is going to involve several properties of the parent Repository object, not directly related to the BranchCollection class, so from the code perspective (Law of Demeter) we should put it into the Repository class.
Metadata
Metadata
Assignees
Labels
No labels