[Chicago-talk] Java question

Jay Strauss me at heyjay.com
Sun Oct 16 14:45:04 PDT 2005


Greg Fast wrote:
> On Sat, Oct 15, 2005 at 04:49:12PM -0500, Jay Strauss wrote:
> 
>>>what does:
>>>
>>>order.m_ignoreRth = readInt() == 1;
>>>
>>>do?
>>
>>Nevermind it's a boolean
> 
> 
> `==` binds tighter than `=`, so it wouldn't compile if m_ignoreRth
> wasn't boolean.  But this is bad style, parens should be used (most
> people, myself included, don't remember operator precedence without
> looking it up...)
> 

Ok
Jay


More information about the Chicago-talk mailing list