Weird constants
- by Quassnoi
I've seen these in real code:
#define SCREEN_DIMENSIONS 2
#define THREE_THOUSAND_FIVE_HUNDRED_TWENTY_TWO 3522
What is the weirdest constant you've ever seen?
P. S. And of course my favorite in JScript:
bool b;
switch (b.ToString().length) {
case 4: // true
...
break;
case 5: // false
...
break;
)