#303

2 posts· Last used 11d

Replying to @ZILtoid1991@lemmy.world
Reminds me of a codebase I used to work on which we had 899 variable limit and we couldn’t name them, only number them. These were limitations of the language. Each variable had to be assigned a 3 digit number but 1-100 were taken by internal stuff so only 101- 999 was allowed. So let’s say you wanted to check if power was between 50 and 60 you would end up with like #301 = 50; #302 = 60; #303 = powerSignal; If #303 < #301 || #303 > #302: Display error Continue process
38
18
0
0
You've seen all posts