Deutsch English Français Italiano |
<86o7aj2kzg.fsf@linuxsc.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Tim Rentsch <tr.17687@z991.linuxsc.com> Newsgroups: comp.lang.c Subject: Re: while(T[l]<p & l<=r) Date: Mon, 08 Apr 2024 21:55:31 -0700 Organization: A noiseless patient Spider Lines: 35 Message-ID: <86o7aj2kzg.fsf@linuxsc.com> References: <uu109u$3798b$1@i2pn2.org> <uu3kqb$3i23g$1@dont-email.me> <kXeNN.99578$24ld.63941@fx07.iad> <86h6gnipqb.fsf@linuxsc.com> <uu9p7m$3icae$1@i2pn2.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Tue, 09 Apr 2024 04:55:32 +0200 (CEST) Injection-Info: dont-email.me; posting-host="47558c70f7e061adbec47d824d7ff660"; logging-data="40634"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+outj1Cu9YG8yxHM7Nx1T8kE6WBToyguo=" User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.4 (gnu/linux) Cancel-Lock: sha1://ivm69uqL775pkqpMYUJ9clsAI= sha1:pemVYAQXXGlex0DrzgULdLYYjhM= Bytes: 2320 fir <fir@grunge.pl> writes: > Tim Rentsch wrote: > >> scott@slp53.sl.home (Scott Lurndal) writes: >> >>> Janis Papanagnou <janis_papanagnou+ng@hotmail.com> writes: >>> >>>> On 27.03.2024 12:35, fir wrote: >>>> >>>>> tell me, is while(T[l]<p & l<=r) the same as while((T[l]<p)&&(l<=r)) >>>> >>>> 1. As long as K&R precedences still hold you don't need the inner >>>> parentheses; '<' and '<=' has higher precedence than '&' and '&&'. >>> >>> While true, the parenthesis can be helpful to the reader >>> and have no adverse effects. >> >> Certainly extra parentheses can be helpful to some readers. >> >> Considered as a question of fact, the proposition that extra >> parentheses have no adverse effects is false. It may be the >> case that the adverse effects are thought to be unimportant >> relative to some proposed benefit, but that is a question of >> opinion rather than a question of fact. > > what a lamas you are ... > > its quite oposite it is using parenthesis and && instead of & and || > insetad | makes c source code lost its character - its generaly weird > world that i noticed it recenty not 20 years ago Can you explain how your comment has some relationship to what it was that I said? What is it that you think I did say?