Re: [Pull] Some documentation patches

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jan Engelhardt <jengelh@...>
Cc: Jonathan Corbet <corbet@...>, <linux-kernel@...>, <torvalds@...>, Randy Dunlap <randy.dunlap@...>
Date: Monday, March 31, 2008 - 10:31 am

Jan Engelhardt пишет:

Excuse me, what's the point in this change and the next one? IMO, removing
the explicit type cast makes the code less obvious (AFAICT, this is a trendy
word in LKML these days). Relying upon operator priorities instead of explicit
operator grouping using parentheses can confuse people, too. Imagine a
person looking at these lines: after the change, he or she will need to check
the variable v type in the argument list, and consult the table of operator
priorities in C if the person is in doubt about what the code does.

Just my two cents...

Dmitri


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[Pull] Some documentation patches, Jonathan Corbet, (Fri Mar 28, 2:20 pm)
Re: [Pull] Some documentation patches, Randy Dunlap, (Fri Mar 28, 3:47 pm)
Re: [Pull] Some documentation patches, Will Newton, (Fri Mar 28, 3:39 pm)
Re: [Pull] Some documentation patches, Jan Engelhardt, (Fri Mar 28, 3:09 pm)
Re: [Pull] Some documentation patches, Dmitri Vorobiev, (Mon Mar 31, 10:31 am)
Re: [Pull] Some documentation patches, Jan Engelhardt, (Tue Apr 1, 4:00 pm)
Re: [Pull] Some documentation patches , Jonathan Corbet, (Fri Mar 28, 3:22 pm)
Re: [Pull] Some documentation patches, Linus Torvalds, (Fri Mar 28, 2:34 pm)
Re: [Pull] Some documentation patches , Jonathan Corbet, (Fri Mar 28, 2:36 pm)
Re: [Pull] Some documentation patches, Jan Engelhardt, (Fri Mar 28, 2:28 pm)