MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/gzhnbb/ea_published_their_commandconquer_code_on_github/fthk78i/?context=3
r/badcode • u/Achereto • Jun 09 '20
36 comments sorted by
View all comments
214
Aren't magic numbers supposed to be defined as constants, not variables?
0 u/[deleted] Jun 09 '20 [deleted] 45 u/cj81499 Jun 09 '20 So it's a bad variable name
0
[deleted]
45 u/cj81499 Jun 09 '20 So it's a bad variable name
45
So it's a bad variable name
214
u/barzamsr Jun 09 '20
Aren't magic numbers supposed to be defined as constants, not variables?