B
bollod
Is there any benefit to declaring a variable:
x = (1<<12);
instead of:
x = 4096;
(besides the geek appeal of course ;-) )
I have seen these kind of declarations come up in some code I have been
fiddling with and was wondering if there was any tangible benefit, (I have
also seen stuff declared as hex, is there any benefit to that either).
x = (1<<12);
instead of:
x = 4096;
(besides the geek appeal of course ;-) )
I have seen these kind of declarations come up in some code I have been
fiddling with and was wondering if there was any tangible benefit, (I have
also seen stuff declared as hex, is there any benefit to that either).