Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Ian Collins Newsgroups: comp.lang.c Subject: Re: Remembering C's operator precedence rules Date: Thu, 14 Mar 2019 14:28:32 +1300 Lines: 16 Message-ID: References: <87lg1o9efx.fsf@bsb.me.uk> <1bh8cb93bi.fsf@pfeifferfamily.net> <86sgvqr96y.fsf@mailhub.linuxsc.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: individual.net PcNy0ui4Z40lg1lJBOx9ngh4cM2WWOaI5suCgQCpaah4TR3f51 Cancel-Lock: sha1:D81rB6ChpvtRJXbvwoza+UcYh6k= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.1 In-Reply-To: Content-Language: en-US Xref: csiph.com comp.lang.c:141948 On 14/03/2019 09:24, Wouter Verhelst wrote: > On 13/03/2019 19:11, Tim Rentsch wrote: >> Joe Pfeiffer writes: >>> [...], and if I don't remember for sure in my own code >> >> It isn't hard to remember if one makes an effort to learn. >> Fifteen to thiry minutes, tops, and that's a one-time cost. > > When I was taught C in college, we had to memorize the operator > precedence. I tried, I really did. It's not "fifteen to thirty minutes, > tops". It took me several hours. I have forgotten most of that since. I just memorised the page number (48) in K&R... -- Ian.