4 ms·
I guess it depends on the language but using a string for this doesn't seem like a great choice except for user display / logging. Given this is a version numbe
by srj 5y ago
I guess it depends on the language but using a string for this doesn't seem like a great choice except for user display / logging. Given this is a version number you'd want to support comparison operators, and a struct with those operators defined (and a string format method) would make more sense imo.