Re: [PATCH RESEND libgpiod v2 13/18] dbus: add gpio-manager code

Emmanuele Bassi <[email protected]> Tue, 2 Jul 2024 10:19:46 +0100
Newsgroups gmane.comp.freedesktop.dbus
Message-ID <CALnHYQF7PYYTqXU=Aiy5bsP+BMc5=0ef3G4MFR3V1gi64dsrcg@mail.gmail.com>
--000000000000a45fe8061c403700
Content-Type: text/plain; charset="UTF-8"

On Tue, 2 Jul 2024 at 10:02, Thiago Macieira <[email protected]> wrote:

>
> > It's a pattern recommended by and used throughout GLib and all Gnome
> > projects using it.
>
> It's wrong. Glib developers ought to remove the recommendation.
>

There's no such recommendation anywhere, just a metric ton of code that has
been doing it since 1996 and gets copy-pasted anyway.

In practice, though, given the namespacing rules for any GLib-based code,
the possibility of conflict with anything the ISO WG14 working group comes
up with is virtually zero.

Ciao,
 Emmanuele.

-- 
https://www.bassi.io
[@] ebassi [@gmail.com]

--000000000000a45fe8061c403700
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">On Tue, 2 Jul 2024 at 10:02, Thiago Macie=
ira &lt;<a href=3D"mailto:[email protected]">[email protected]</a>&gt; wrote:</di=
v><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" style=3D"mar=
gin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1=
ex"><br>
&gt; It&#39;s a pattern recommended by and used throughout GLib and all Gno=
me<br>
&gt; projects using it.<br>
<br>
It&#39;s wrong. Glib developers ought to remove the recommendation.<br clea=
r=3D"all"></blockquote></div><div><br></div><div>There&#39;s no such recomm=
endation anywhere, just a metric ton of code that has been doing it since 1=
996 and gets copy-pasted anyway.</div><div><br></div><div>In practice, thou=
gh, given the namespacing rules for any GLib-based code, the possibility of=
 conflict with anything the ISO WG14 working group comes up with is virtual=
ly zero.<br></div><div><br></div><div>Ciao,</div><div>=C2=A0Emmanuele.<br><=
/div><div><br></div><span class=3D"gmail_signature_prefix">-- </span><br><d=
iv dir=3D"ltr" class=3D"gmail_signature"><a href=3D"https://www.bassi.io" t=
arget=3D"_blank">https://www.bassi.io</a><br>[@] ebassi [@<a href=3D"http:/=
/gmail.com" target=3D"_blank">gmail.com</a>]</div></div>

--000000000000a45fe8061c403700--