r/shittyprogramming • • Apr 15 '19

this good code? Is

Post image
308 Upvotes

51 comments sorted by

View all comments

Show parent comment

8

u/BlackDE Apr 15 '19

Maybe I'm gonna create an enum and use it as index. Then there won't be any confusion about the order.