Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Aug 2004 15:43:46 -0400
From:      Coleman Kane <zombyfork@gmail.com>
To:        Vlad902 <vlad902@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Proper code style regarding hexadecimal case
Message-ID:  <346a802204080312432f319405@mail.gmail.com>
In-Reply-To: <f8f8ff7304073110431c8541fe@mail.gmail.com>
References:  <f8f8ff7304073110431c8541fe@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Typically, I have used the lowercase formatting. Much of the code I
work with has gone for the lowercase format as well. Typically setting
something to 0xFFFFFFFF reads like yelling and stands out in the
source, since keywords are all lowercase and most var/function names
are as well. As an aside, the #define macros usually stand out as all
of them are all-caps. I would suggest using the lowercase format.

On Sat, 31 Jul 2004 10:43:45 -0700, Vlad902 <vlad902@gmail.com> wrote:
> What is the proper code style regarding hexadecimal case (ie. 0xabc v.
> 0xABC)? I have found code to be a mix of mostly lower and upper case,
> and style(9) didn't say anything on the subject.
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?346a802204080312432f319405>