tereigo
tereigo
A couple of things I can think of: 1. We migrated some widely used Java enums to this kind of implementation and so now have to update a lot of...
There might be different reasons to introduce custom-made classes which should have 1 instance per value, not necessarily Enums I guess. In our case we need to provide special wire...
no big reason apart from having to update a lot of code but not because the new code will be cleaner/safer but just to satisfy the code validation tool