sittingduck.co.nz
Enums for hard-coded configuration
While writing my new Stretch Timer app, I needed to set lower and upper limits for three key numbers. I had them hardcoded as numeric literals but when I wanted to change one of them, it occurred t…