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


Groups > comp.lang.c++ > #86257 > unrolled thread

Using local variables in C callbacks

Started byBonita Montero <Bonita.Montero@gmail.com>
First post2022-09-11 17:18 +0200
Last post2022-09-15 13:29 -0700
Articles 15 on this page of 35 — 10 participants

Back to article view | Back to comp.lang.c++


Contents

  Using local variables in C callbacks Bonita Montero <Bonita.Montero@gmail.com> - 2022-09-11 17:18 +0200
    Re: Using local variables in C callbacks Muttley@dastardlyhq.com - 2022-09-11 15:45 +0000
      Re: Using local variables in C callbacks Bonita Montero <Bonita.Montero@gmail.com> - 2022-09-11 17:51 +0200
        Re: Using local variables in C callbacks Muttley@dastardlyhq.com - 2022-09-11 15:53 +0000
          Re: Using local variables in C callbacks Bonita Montero <Bonita.Montero@gmail.com> - 2022-09-11 17:57 +0200
            Re: Using local variables in C callbacks Tony Oliver <guinness.tony@gmail.com> - 2022-09-12 17:05 -0700
              Re: Using local variables in C callbacks Bonita Montero <Bonita.Montero@gmail.com> - 2022-09-13 07:18 +0200
    Re: Using local variables in C callbacks Bonita Montero <Bonita.Montero@gmail.com> - 2022-09-12 07:02 +0200
    Re: Using local variables in C callbacks Juha Nieminen <nospam@thanks.invalid> - 2022-09-12 06:03 +0000
      Re: Using local variables in C callbacks Bonita Montero <Bonita.Montero@gmail.com> - 2022-09-12 09:16 +0200
        Re: Using local variables in C callbacks Juha Nieminen <nospam@thanks.invalid> - 2022-09-13 06:52 +0000
          Re: Using local variables in C callbacks Bonita Montero <Bonita.Montero@gmail.com> - 2022-09-13 12:09 +0200
            Re: Using local variables in C callbacks Juha Nieminen <nospam@thanks.invalid> - 2022-09-13 12:57 +0000
              Re: Using local variables in C callbacks Bonita Montero <Bonita.Montero@gmail.com> - 2022-09-13 15:57 +0200
                Re: Using local variables in C callbacks Juha Nieminen <nospam@thanks.invalid> - 2022-09-14 06:08 +0000
                  Re: Using local variables in C callbacks Bonita Montero <Bonita.Montero@gmail.com> - 2022-09-14 09:00 +0200
                    Re: Using local variables in C callbacks Juha Nieminen <nospam@thanks.invalid> - 2022-09-14 12:26 +0000
                      Re: Using local variables in C callbacks Bonita Montero <Bonita.Montero@gmail.com> - 2022-09-14 14:59 +0200
                        Re: Using local variables in C callbacks David Brown <david.brown@hesbynett.no> - 2022-09-14 16:01 +0200
                          Re: Using local variables in C callbacks Bonita Montero <Bonita.Montero@gmail.com> - 2022-09-14 16:49 +0200
                        Re: Using local variables in C callbacks Juha Nieminen <nospam@thanks.invalid> - 2022-09-15 05:35 +0000
                          Re: Using local variables in C callbacks Bonita Montero <Bonita.Montero@gmail.com> - 2022-09-15 08:26 +0200
                            Re: Using local variables in C callbacks scott@slp53.sl.home (Scott Lurndal) - 2022-09-15 14:09 +0000
                              Re: Using local variables in C callbacks Bonita Montero <Bonita.Montero@gmail.com> - 2022-09-15 16:56 +0200
                          Re: Using local variables in C callbacks Tim Rentsch <tr.17687@z991.linuxsc.com> - 2022-09-15 05:43 -0700
                            Re: Using local variables in C callbacks Bonita Montero <Bonita.Montero@gmail.com> - 2022-09-15 16:02 +0200
                            Re: Using local variables in C callbacks Juha Nieminen <nospam@thanks.invalid> - 2022-09-16 06:08 +0000
                              Re: Using local variables in C callbacks Bonita Montero <Bonita.Montero@gmail.com> - 2022-09-16 13:43 +0200
                              Re: Using local variables in C callbacks Tim Rentsch <tr.17687@z991.linuxsc.com> - 2022-09-16 06:57 -0700
                              Re: Using local variables in C callbacks Keith Thompson <Keith.S.Thompson+u@gmail.com> - 2022-09-16 10:13 -0700
                    Re: Using local variables in C callbacks "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2022-09-14 15:38 -0700
            Re: Using local variables in C callbacks Öö Tiib <ootiib@hot.ee> - 2022-09-13 22:20 -0700
          Re: Using local variables in C callbacks "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2022-09-13 12:48 -0700
            Re: Using local variables in C callbacks Juha Nieminen <nospam@thanks.invalid> - 2022-09-14 06:09 +0000
              Re: Using local variables in C callbacks "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com> - 2022-09-15 13:29 -0700

Page 2 of 2 — ← Prev page 1 [2]


#86331

FromJuha Nieminen <nospam@thanks.invalid>
Date2022-09-15 05:35 +0000
Message-ID<tfudif$1u92$2@gioia.aioe.org>
In reply to#86321
Bonita Montero <Bonita.Montero@gmail.com> wrote:
> Am 14.09.2022 um 14:26 schrieb Juha Nieminen:
>> Bonita Montero <Bonita.Montero@gmail.com> wrote:
>>> If you don't like my code, don't read it.
>> 
>> And that's *exactly* your problem. You are expecting others to do
>> the work of understanding your code rather than the other way
>> around, ie. doing some work to make your code understandable to
>> others.
> 
> Most people don't have your problem because they're not disordered
> like you. If you don't like my code don't read it.

You just love throwing insults at people who critique your code,
don't you?

I have said this many times before, and I'll say it again: I have no
idea why people here still keep taking you seriously and responding
to your every post. You do nothing but insult people who disagree
with your way of doing things.

[toc] | [prev] | [next] | [standalone]


#86332

FromBonita Montero <Bonita.Montero@gmail.com>
Date2022-09-15 08:26 +0200
Message-ID<tfugig$38j07$1@dont-email.me>
In reply to#86331
Am 15.09.2022 um 07:35 schrieb Juha Nieminen:

>> Most people don't have your problem because they're not disordered
>> like you. If you don't like my code don't read it.

> You just love throwing insults at people who critique your code,
> don't you?

You don't want to make factual criticism of my code, you want me to
follow your style. And that's where it's appropriate to say what the
problem is, which is that you have a mental disorder.


[toc] | [prev] | [next] | [standalone]


#86336

Fromscott@slp53.sl.home (Scott Lurndal)
Date2022-09-15 14:09 +0000
Message-ID<qmGUK.3517$S2x7.2160@fx43.iad>
In reply to#86332
Bonita Montero <Bonita.Montero@gmail.com> writes:
>Am 15.09.2022 um 07:35 schrieb Juha Nieminen:
>
>>> Most people don't have your problem because they're not disordered
>>> like you. If you don't like my code don't read it.
>
>> You just love throwing insults at people who critique your code,
>> don't you?
>
>You don't want to make factual criticism of my code, you want me to
>follow your style. And that's where it's appropriate to say what the
>problem is, which is that you have a mental disorder.

Criticism of your propensity for complexity is perfectly appropriate.

K.I.S.S.

[toc] | [prev] | [next] | [standalone]


#86338

FromBonita Montero <Bonita.Montero@gmail.com>
Date2022-09-15 16:56 +0200
Message-ID<tfvef1$3btpt$1@dont-email.me>
In reply to#86336
Am 15.09.2022 um 16:09 schrieb Scott Lurndal:
> Bonita Montero <Bonita.Montero@gmail.com> writes:
>> Am 15.09.2022 um 07:35 schrieb Juha Nieminen:
>>
>>>> Most people don't have your problem because they're not disordered
>>>> like you. If you don't like my code don't read it.
>>
>>> You just love throwing insults at people who critique your code,
>>> don't you?
>>
>> You don't want to make factual criticism of my code, you want me to
>> follow your style. And that's where it's appropriate to say what the
>> problem is, which is that you have a mental disorder.
> 
> Criticism of your propensity for complexity is perfectly appropriate.
> 
> K.I.S.S.

My code isn't complex but only has a differnt style.
I use a lot of functional programming to have sorter
or more performant code. This style is just uncommon.


[toc] | [prev] | [next] | [standalone]


#86334

FromTim Rentsch <tr.17687@z991.linuxsc.com>
Date2022-09-15 05:43 -0700
Message-ID<86czbwn6ze.fsf@linuxsc.com>
In reply to#86331
Juha Nieminen <nospam@thanks.invalid> writes:

> Bonita Montero <Bonita.Montero@gmail.com> wrote:
>
>> Am 14.09.2022 um 14:26 schrieb Juha Nieminen:
>>
>>> Bonita Montero <Bonita.Montero@gmail.com> wrote:
>>>
>>>> If you don't like my code, don't read it.
>>>
>>> And that's *exactly* your problem.  You are expecting others to do
>>> the work of understanding your code rather than the other way
>>> around, ie. doing some work to make your code understandable to
>>> others.
>>
>> Most people don't have your problem because they're not disordered
>> like you.  If you don't like my code don't read it.
>
> You just love throwing insults at people who critique your code,
> don't you?
>
> I have said this many times before, and I'll say it again:  I have no
> idea why people here still keep taking you seriously and responding
> to your every post.  You do nothing but insult people who disagree
> with your way of doing things.

What is it that you are hoping to accomplish by writing these
responses?  If you have no idea why people keep responding to
his (or her) posts, why do you continue to respond to them?

[toc] | [prev] | [next] | [standalone]


#86335

FromBonita Montero <Bonita.Montero@gmail.com>
Date2022-09-15 16:02 +0200
Message-ID<tfvb9c$3bf8g$1@dont-email.me>
In reply to#86334
Am 15.09.2022 um 14:43 schrieb Tim Rentsch:
> Juha Nieminen <nospam@thanks.invalid> writes:
> 
>> Bonita Montero <Bonita.Montero@gmail.com> wrote:
>>
>>> Am 14.09.2022 um 14:26 schrieb Juha Nieminen:
>>>
>>>> Bonita Montero <Bonita.Montero@gmail.com> wrote:
>>>>
>>>>> If you don't like my code, don't read it.
>>>>
>>>> And that's *exactly* your problem.  You are expecting others to do
>>>> the work of understanding your code rather than the other way
>>>> around, ie. doing some work to make your code understandable to
>>>> others.
>>>
>>> Most people don't have your problem because they're not disordered
>>> like you.  If you don't like my code don't read it.
>>
>> You just love throwing insults at people who critique your code,
>> don't you?
>>
>> I have said this many times before, and I'll say it again:  I have no
>> idea why people here still keep taking you seriously and responding
>> to your every post.  You do nothing but insult people who disagree
>> with your way of doing things.
> 
> What is it that you are hoping to accomplish by writing these
> responses?  If you have no idea why people keep responding to
> his (or her) posts, why do you continue to respond to them?

He is obsessed.

[toc] | [prev] | [next] | [standalone]


#86344

FromJuha Nieminen <nospam@thanks.invalid>
Date2022-09-16 06:08 +0000
Message-ID<tg13sl$f2g$2@gioia.aioe.org>
In reply to#86334
Tim Rentsch <tr.17687@z991.linuxsc.com> wrote:
>> I have said this many times before, and I'll say it again:  I have no
>> idea why people here still keep taking you seriously and responding
>> to your every post.  You do nothing but insult people who disagree
>> with your way of doing things.
> 
> What is it that you are hoping to accomplish by writing these
> responses?  If you have no idea why people keep responding to
> his (or her) posts, why do you continue to respond to them?

If nobody else replied to her posts and just ignored her, I wouldn't
reply to them either.

[toc] | [prev] | [next] | [standalone]


#86349

FromBonita Montero <Bonita.Montero@gmail.com>
Date2022-09-16 13:43 +0200
Message-ID<tg1ngg$3og25$1@dont-email.me>
In reply to#86344
Am 16.09.2022 um 08:08 schrieb Juha Nieminen:
> Tim Rentsch <tr.17687@z991.linuxsc.com> wrote:
>>> I have said this many times before, and I'll say it again:  I have no
>>> idea why people here still keep taking you seriously and responding
>>> to your every post.  You do nothing but insult people who disagree
>>> with your way of doing things.
>>
>> What is it that you are hoping to accomplish by writing these
>> responses?  If you have no idea why people keep responding to
>> his (or her) posts, why do you continue to respond to them?
> 
> If nobody else replied to her posts and just ignored her, I wouldn't
> reply to them either.

You don't write because of others, you write because you're obsessed.

[toc] | [prev] | [next] | [standalone]


#86352

FromTim Rentsch <tr.17687@z991.linuxsc.com>
Date2022-09-16 06:57 -0700
Message-ID<86illnl8ve.fsf@linuxsc.com>
In reply to#86344
Juha Nieminen <nospam@thanks.invalid> writes:

> Tim Rentsch <tr.17687@z991.linuxsc.com> wrote:
>
>>> I have said this many times before, and I'll say it again:  I have no
>>> idea why people here still keep taking you seriously and responding
>>> to your every post.  You do nothing but insult people who disagree
>>> with your way of doing things.
>>
>> What is it that you are hoping to accomplish by writing these
>> responses?  If you have no idea why people keep responding to
>> his (or her) posts, why do you continue to respond to them?
>
> If nobody else replied to her posts and just ignored her, I
> wouldn't reply to them either.

This statement doesn't address either of my questions.

[toc] | [prev] | [next] | [standalone]


#86364

FromKeith Thompson <Keith.S.Thompson+u@gmail.com>
Date2022-09-16 10:13 -0700
Message-ID<87bkrfgs32.fsf@nosuchdomain.example.com>
In reply to#86344
Juha Nieminen <nospam@thanks.invalid> writes:
> Tim Rentsch <tr.17687@z991.linuxsc.com> wrote:
>>> I have said this many times before, and I'll say it again:  I have no
>>> idea why people here still keep taking you seriously and responding
>>> to your every post.  You do nothing but insult people who disagree
>>> with your way of doing things.
>> 
>> What is it that you are hoping to accomplish by writing these
>> responses?  If you have no idea why people keep responding to
>> his (or her) posts, why do you continue to respond to them?
>
> If nobody else replied to her posts and just ignored her, I wouldn't
> reply to them either.

How does other people replying to her posts compel you to do so?

Assuming you agree that the ideal solution (short of her either going
away or becoming reasonable) would be for everyone to ignore her, why do
you not want to help bring that about?

A lot of us never see here posts in the first place.

-- 
Keith Thompson (The_Other_Keith) Keith.S.Thompson+u@gmail.com
Working, but not speaking, for Philips
void Void(void) { Void(); } /* The recursive call of the void */

[toc] | [prev] | [next] | [standalone]


#86328

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2022-09-14 15:38 -0700
Message-ID<tftl4e$33siv$1@dont-email.me>
In reply to#86309
On 9/14/2022 12:00 AM, Bonita Montero wrote:
> Am 14.09.2022 um 08:08 schrieb Juha Nieminen:
> 
>> When you post questions or code for others to review and consider,
>> you should make that code as easy to read and understand as possible.
> 
> The code is easy to read and if not you're mentally disoredered.

I can read your code.


> If you don't like my code, don't read it.

Okay! :^)

[toc] | [prev] | [next] | [standalone]


#86303

FromÖö Tiib <ootiib@hot.ee>
Date2022-09-13 22:20 -0700
Message-ID<23b19961-6921-486e-af95-aea05cae0836n@googlegroups.com>
In reply to#86296
On Tuesday, 13 September 2022 at 13:09:23 UTC+3, Bonita Montero wrote:
> Am 13.09.2022 um 08:52 schrieb Juha Nieminen: 
> > Bonita Montero <Bonita....@gmail.com> wrote: 
> >> Am 12.09.2022 um 08:03 schrieb Juha Nieminen: 
> >> 
> >>> I think this demonstrates beautifully why you shouldn't use "using 
> >>> namespace std;" 
> >> 
> >> Idiot. 
> >> 
> >>> The code is full of obfuscated names and it's very difficult to see with 
> >>> a visual scan which names are declared locally, which are from the 
> >>> standard library, and which are from some third-party library. 
> >> 
> >> There's nothing obfuscated with that, it's just not your taste. 
> >> You're a person that constantly feels uncertain and you need 
> >> some rituals to feel certain; people that don't adhere to your 
> >> rituals make you feel ucertain again. 
> > 
> > The programmer is the poorest person to evaluate the readability of his 
> > own code. He needs the perspective of another programmer to know how 
> > readable and understandable his code actually is.
> 
> Maybe, but I won't assess my code by idiots.

It takes one to know one.

[toc] | [prev] | [next] | [standalone]


#86301

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2022-09-13 12:48 -0700
Message-ID<tfqmpq$2lipv$1@dont-email.me>
In reply to#86295
On 9/12/2022 11:52 PM, Juha Nieminen wrote:
> Bonita Montero <Bonita.Montero@gmail.com> wrote:
>> Am 12.09.2022 um 08:03 schrieb Juha Nieminen:
>>
>>> I think this demonstrates beautifully why you shouldn't use "using
>>> namespace std;"
>>
>> Idiot.
>>
>>> The code is full of obfuscated names and it's very difficult to see with
>>> a visual scan which names are declared locally, which are from the
>>> standard library, and which are from some third-party library.
>>
>> There's nothing obfuscated with that, it's just not your taste.
>> You're a person that constantly feels uncertain and you need
>> some rituals to feel certain; people that don't adhere to your
>> rituals make you feel ucertain again.
> 



> The programmer is the poorest person to evaluate the readability of his
> own code.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Do you mind if I quote that? I will give proper attributions of course, 
Juha. :^)


>  He needs the perspective of another programmer to know how
> readable and understandable his code actually is.
> 
> I also find funny you talking about "rituals". What else is always
> writing the "using namespace std;" boilerplate than pretty much
> effectively a ritual?

[toc] | [prev] | [next] | [standalone]


#86307

FromJuha Nieminen <nospam@thanks.invalid>
Date2022-09-14 06:09 +0000
Message-ID<tfrr7b$1ges$3@gioia.aioe.org>
In reply to#86301
Chris M. Thomasson <chris.m.thomasson.1@gmail.com> wrote:
>> The programmer is the poorest person to evaluate the readability of his
>> own code.
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 
> Do you mind if I quote that? I will give proper attributions of course, 
> Juha. :^)

No need to attribute.

[toc] | [prev] | [next] | [standalone]


#86340

From"Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Date2022-09-15 13:29 -0700
Message-ID<tg01um$3dqv8$1@dont-email.me>
In reply to#86307
On 9/13/2022 11:09 PM, Juha Nieminen wrote:
> Chris M. Thomasson <chris.m.thomasson.1@gmail.com> wrote:
>>> The programmer is the poorest person to evaluate the readability of his
>>> own code.
>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>>
>> Do you mind if I quote that? I will give proper attributions of course,
>> Juha. :^)
> 
> No need to attribute.

:^)

[toc] | [prev] | [standalone]


Page 2 of 2 — ← Prev page 1 [2]

Back to top | Article view | comp.lang.c++


csiph-web