|
|
|
|
|
by tym0
177 days ago
|
|
Using a bool instead of empty struct also means that there is more way to use it wrong: check the bool instead of if the key exist, set the bool incorrectly, etc... I would argue using bool hurts readability more. Even better write/use a simple library that calls things that are sets `Set`. |
|