-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tagged Save - implementation to avoid duplication
Not 100% happy with this implementation. Seems overcomplicated. I changed the requirements a bit so that we don't create tag-1 but just tag and tag-2. Otherwise it'd be even more involved. I considered making it more structure that a Tag is a structure with `%Tag{name: "foo", count: 1}` or something like this. But that also seemed like a bit of overkill. So yeah, if you have anything simpler let me know. Otherwise let me know if you think this is good enough :)
- Loading branch information
Showing
2 changed files
with
86 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters