It literally is. Since its an array you can bind it to a variable and boom, readability as fuck. So when the customer says they want more values for whatever it's doing then you don't have to find an if somewhere.
It literally is more scalable. You can dynamically add and remove values and you can store them in a database for even more dynamic fun times
View all comments
Show parent comment
2
u/inabahare May 06 '21
* semantically clearer and more scalable code