----- "Tom Limoncelli" <t...@whatexit.org> wrote:
> I see this in code now and then:
>                 1<<16-1

Being just a system geek and not a professional programmer, I don't understand 
why one would use that notation instead of the more obvious variations of 
"0x8000"?

I understand that the compiler, at compile time (not run time) will figure out 
that the programmer "meant" 0x8000 from that piece of code so the end result is 
the same but it seems that for documentation purposes it'd be more obvious to 
do it the other way.

Am I missing something?

Thanks for letting me ask.
-- 
  << MCT >> Michael C Tiernan
  http://www.linkedin.com/in/mtiernan
  Non Impediti Ratione Cogatationis
_______________________________________________
Tech mailing list
Tech@lopsa.org
http://lopsa.org/cgi-bin/mailman/listinfo/tech
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to