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


View this message in rfc822 format

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

zimoun <zimon.toutoune <at> gmail.com> skribis:

> On Fri, 27 Nov 2020 at 18:04, Ludovic Courtès <ludo <at> gnu.org> wrote:
>
>> (I wanted to add an API in Guile-Avahi to “invert inversion of control”
>> so that one could escape callback hell but never got around to
>> completing it.)
>
> Out of curiosity, what do you mean by “invert inversion of control”?

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.

HTH!

Ludo’.




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.