|
|
|
|
|
by antihero
1608 days ago
|
|
I disagree with the point about enums, they can be used to alias otherwise inconsistent long strings with more readable, consistent, succinct ones. For instance, product SKUs. I've had absolutely no problems with them with either past or current tooling (e.g. esbuild). They can also be used in the more traditional form to represent some arbitrary values. They shouldn't be overused, though. |
|