Coding style operator precedence

Solomon Tan wjsota at gmail.com
Fri Apr 22 11:44:40 EDT 2022


On Fri, Apr 22, 2022 at 04:59:38PM +0200, Greg KH wrote:
> On Fri, Apr 22, 2022 at 10:08:54PM +0800, Solomon Tan wrote:
> 
> Make it obvious when people read the code as we do not always remember
> the precedence order.  We write code for people first, compilers second.

Understood. Thanks for the advice, Greg. :)
> 
> thanks,
> 
> greg k-h

Cheers,
Solomon



More information about the Kernelnewbies mailing list