Is there any way for me to make this switch statement less verbose. I am yielding the correct result but I feel I am repeating myself too much. ![Photo of switch statement[1]][1]
评论
请
登录后发表观点
- 积分
0 - 话题
0 - 评论
3261 - 注册排名
2526
Is there any way for me to make this switch statement less verbose. I am yielding the correct result but I feel I am repeating myself too much. ![Photo of switch statement[1]][1]