Hey people! Do you find yourself doing this in Java? Ever thought of a Units of Measure library like indriya?
static final double c = 1079252849;
static final double SPEED_OF_LIGHT = 1079252849;
static final double SPEED_OF_LIGHT_IN_KM_PER_H = 1079252849;
So there are about 3700 Unit of Measure (UoM) libraries on Github with around 586 of them active from previous research. I'm trying to figure out why the lack of adoption of these UoM libraries are a thing by interviewing scientists and developers.
Now I know surveys aren't allowed here but if you're willing to take one please message me to figure out why you would prefer to build your own UoM solution instead of using one available from the web.
I did however post this survey on other subreddits and a few perspectives were that some of these libraries suffer from being overcomplicated/unusable with too much templatized baggage and restrictive with their types (such as forcing quantities to be doubles, leading to possible loss of precision), costly to adopt with so much existing code/overhead to getting started, lack of social push for these libraries. And even laziness and unawareness of these libraries!
If you have any reasons why people don't usually consider UoM libraries in their solutions, feel free to post here or message me on the philosophy on having unit or unitless code.