Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.c > #384220
| From | Tim Rentsch <tr.17687@z991.linuxsc.com> |
|---|---|
| Newsgroups | comp.lang.c |
| Subject | Re: while(T[l]<p & l<=r) |
| Date | 2024-04-08 21:55 -0700 |
| Organization | A noiseless patient Spider |
| Message-ID | <86o7aj2kzg.fsf@linuxsc.com> (permalink) |
| 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> |
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?
Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar
while(T[l]<p & l<=r) fir <fir@grunge.pl> - 2024-03-27 12:35 +0100
Re: while(T[l]<p & l<=r) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2024-03-28 12:37 +0100
Re: while(T[l]<p & l<=r) fir <fir@grunge.pl> - 2024-03-28 13:18 +0100
Re: while(T[l]<p & l<=r) Janis Papanagnou <janis_papanagnou+ng@hotmail.com> - 2024-03-28 16:26 +0100
Re: while(T[l]<p & l<=r) fir <fir@grunge.pl> - 2024-03-28 17:28 +0100
Re: while(T[l]<p & l<=r) bart <bc@freeuk.com> - 2024-03-28 16:43 +0000
Re: while(T[l]<p & l<=r) fir <fir@grunge.pl> - 2024-03-28 18:12 +0100
Re: while(T[l]<p & l<=r) bart <bc@freeuk.com> - 2024-03-28 19:36 +0000
Re: while(T[l]<p & l<=r) fir <fir@grunge.pl> - 2024-03-28 23:13 +0100
Re: while(T[l]<p & l<=r) scott@slp53.sl.home (Scott Lurndal) - 2024-03-28 14:14 +0000
Re: while(T[l]<p & l<=r) David Brown <david.brown@hesbynett.no> - 2024-03-28 19:12 +0100
Re: while(T[l]<p & l<=r) Kaz Kylheku <433-929-6894@kylheku.com> - 2024-03-28 18:24 +0000
Re: while(T[l]<p & l<=r) Tim Rentsch <tr.17687@z991.linuxsc.com> - 2024-03-30 10:39 -0700
Re: while(T[l]<p & l<=r) fir <fir@grunge.pl> - 2024-03-30 20:30 +0100
Re: while(T[l]<p & l<=r) Tim Rentsch <tr.17687@z991.linuxsc.com> - 2024-04-08 21:55 -0700
Re: while(T[l]<p & l<=r) fir <fir@grunge.pl> - 2024-03-31 17:10 +0200
Re: while(T[l]<p & l<=r) Phil Carmody <pc+usenet@asdf.org> - 2024-04-14 23:32 +0300
Re: while(T[l]<p & l<=r) Peter 'Shaggy' Haywood <phaywood@alphalink.com.au> - 2024-04-03 10:25 +1100
Re: while(T[l]<p & l<=r) fir <fir@grunge.pl> - 2024-04-03 16:35 +0200
csiph-web