Re: Linux 2.6.37-rc8 (no fb)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jesse Barnes
Date: Thursday, December 30, 2010 - 11:16 am

On Thu, 30 Dec 2010 10:49:33 +0800 (SGT)
Jeff Chua <jeff.chua.linux@gmail.com> wrote:


For some expressions, the ternary operator is more compact & readable.
For others (like this one imo) it doesn't really add anything, so I
prefer the if statement.  In this case I think the if statement is more
readable since it communicates that we're overriding the default value
on certain generations (i.e. it's a standalone clause).

-- 
Jesse Barnes, Intel Open Source Technology Center
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Linux 2.6.37-rc8 (no fb), Jeff Chua, (Wed Dec 29, 7:49 pm)
Re: Linux 2.6.37-rc8 (no fb), Jesse Barnes, (Thu Dec 30, 11:16 am)
Re: Linux 2.6.37-rc8 (no fb), Chris Wilson, (Thu Dec 30, 4:31 pm)