GNU bug report logs - #44800
[PATCH 0/2] publish: Add Avahi support.

Previous Next

Package: guix-patches;

Reported by: Mathieu Othacehe <othacehe <at> gnu.org>

Date: Sun, 22 Nov 2020 15:58:02 UTC

Severity: normal

Tags: patch

Merged with 44801, 44802

Done: Mathieu Othacehe <othacehe <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #48 received at 44800 <at> debbugs.gnu.org (full text, mbox):

From: zimoun <zimon.toutoune <at> gmail.com>
To: Ludovic Courtès <ludo <at> gnu.org>
Cc: Mathieu Othacehe <othacehe <at> gnu.org>, 44800 <at> debbugs.gnu.org
Subject: Re: [bug#44800] [PATCH v2 1/3] Add Avahi support.
Date: Sat, 28 Nov 2020 19:59:10 +0100
Hi,

On Sat, 28 Nov 2020 at 12:02, Ludovic Courtès <ludo <at> gnu.org> wrote:

> Users of the Avahi client library are supposed to pass “callbacks”,
> which leads to “inversion of control”: the library decides when you code
> is called.  See <https://en.wikipedia.org/wiki/Inversion_of_control>.
>
> Inverting it would mean providing a natural way for users to call the
> library.

Thanks!  I did not know the concept name and that it was so formalized.

Really helpful.


Cheers,
simon




This bug report was last modified 4 years and 176 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.