Path: csiph.com!weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch Newsgroups: comp.lang.c Subject: Re: How About Disallowing Assignments In Expressions? Date: Mon, 19 Feb 2024 18:19:48 -0800 Organization: A noiseless patient Spider Lines: 13 Message-ID: <86v86jx4fv.fsf@linuxsc.com> References: <87il2s9fdj.fsf@nosuchdomain.example.com> <86wmr6z0zg.fsf@linuxsc.com> <87ttm5ieqp.fsf@bsb.me.uk> <87v86kdmor.fsf@bsb.me.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: dont-email.me; posting-host="8daa8a0c394284885699b1f2e2ba5d44"; logging-data="2300311"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18etoW6Qgn1nsqjTJRW/Btw012FSjVL+8E=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1:Ot81BhQ7iTTkJGx54V6WSqoLAfA= sha1:42SSvCEBgDCPMc0wh4x1S/JLTkc= Xref: csiph.com comp.lang.c:382796 Ben Bacarisse writes: > [...] > > Now, can we find a good mnemonic for C's operator precedence levels? > Extra credit if left/right associativity is also covered. Let me ask, which areas give people the most trouble, or where do they find that they need help remembering? My reason for asking is I myself find most of C's expression syntax behaves the way I expect without having to think about it, so I need relatively few memory aids to feel confident in knowing the whole stack. But what are the stumbling blocks for other folks?