Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c > #145993

Re: Example uses for read-modify-write operations?

From Ben Bacarisse <ben.usenet@bsb.me.uk>
Newsgroups comp.lang.c
Subject Re: Example uses for read-modify-write operations?
Date 2019-09-04 17:10 +0100
Organization A noiseless patient Spider
Message-ID <878sr411ql.fsf@bsb.me.uk> (permalink)
References <qknvks$rgm$2@solani.org> <MAMbF.78233$gN2.1096@fx31.iad> <qko70n$r2$2@solani.org> <cae4d59e-a30b-46f5-83f0-3cc2f45d670d@googlegroups.com> <724acaa4-24bb-4274-8540-b14ecee3f960@googlegroups.com>

Show all headers | View raw


mark.bluemel@gmail.com writes:
> On Wednesday, 4 September 2019 13:14:40 UTC+1, already...@yahoo.com  wrote:
<cut>
>> ... You have a variable CNT ...
>
> I learnt a long time ago not to call a variable CNT. It makes discussing
> it awkward.

Yes, and it needs extra care when writing code fragments live in front
of a class.  Even "count" should probably be avoided.  I found this out
the hard way, though the ID I was writing was "func".

-- 
Ben.

Back to comp.lang.c | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Example uses for read-modify-write operations? Philipp Klaus Krause <pkk@spth.de> - 2019-09-04 11:20 +0200
  Re: Example uses for read-modify-write operations? Clifford Heath <no.spam@please.net> - 2019-09-04 20:44 +1000
    Re: Example uses for read-modify-write operations? Philipp Klaus Krause <pkk@spth.de> - 2019-09-04 13:26 +0200
      Re: Example uses for read-modify-write operations? Clifford Heath <no.spam@please.net> - 2019-09-04 22:13 +1000
        Re: Example uses for read-modify-write operations? Philipp Klaus Krause <pkk@spth.de> - 2019-09-04 14:33 +0200
      Re: Example uses for read-modify-write operations? already5chosen@yahoo.com - 2019-09-04 05:14 -0700
        Re: Example uses for read-modify-write operations? Philipp Klaus Krause <pkk@spth.de> - 2019-09-04 14:35 +0200
        Re: Example uses for read-modify-write operations? mark.bluemel@gmail.com - 2019-09-04 08:24 -0700
          Re: Example uses for read-modify-write operations? already5chosen@yahoo.com - 2019-09-04 08:37 -0700
          Re: Example uses for read-modify-write operations? Ben Bacarisse <ben.usenet@bsb.me.uk> - 2019-09-04 17:10 +0100
  Re: Example uses for read-modify-write operations? Bonita Montero <Bonita.Montero@gmail.com> - 2019-09-04 14:28 +0200

csiph-web