The thing is, I also want to query all possible colors. And that would then be in a different function so I'd have to change two functions whenever I add a new color and I don't like that.
SigmarStern
joined 1 year ago
I heard about this, but I wasn't sure it was the right way. Or if Rust developers just straight up avoid situations like this.
If you go down the Java route you will probably end up working with enterprise/legacy software. If you are fine with that, do it. But what's wrong with focussing on JavaScript as your main language?
Vampire Survivors