Re: [PATCH] CodingStyle: Printing numbers in parentheses is fine

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Andrew Morton <akpm@...>
Cc: Jean Delvare <khali@...>, LKML <linux-kernel@...>, Linus Torvalds <torvalds@...>, David Brownell <david-b@...>
Date: Saturday, September 29, 2007 - 10:18 pm

On Sat, 29 Sep 2007 03:51:56 PDT, Andrew Morton said:


On the other hand, printing this:

        magic number: 0x2710

probably doesn't ring any bells, but if you changed that format to be

	"magic number: %x (%d)",foo,foo

you'll almost certainly sit up and ask "Where the fsck did *that* come from?"

(unless you're a *lot* better at doing hex conversions in your head than I).

Yeah, *usually* pointless, but it has its place sometimes....
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] CodingStyle: Printing numbers in parentheses is ..., , (Sat Sep 29, 10:18 pm)