Showing content from https://github.com/madelson/DistributedLock/issues/10 below:
IDistributedLock should be public · Issue #10 · madelson/DistributedLock · GitHub
IMHO: The IDistributedLock should be public. Because:
- The caller of the lock doesn't have to know what implementation of lock it's using
- Unit Testing: if it already contains an interface, I don't have to abstract the DistributedLock any further.
- The interface is no internal implementation detail, indeed it is the interface of the lock api
Btw, thanks for the good work in this project
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4