help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [External] : Re: Emacs 30.0 warning from `cl-pushnew' and `memql'


From: tomas
Subject: Re: [External] : Re: Emacs 30.0 warning from `cl-pushnew' and `memql'
Date: Fri, 30 Dec 2022 07:30:36 +0100

On Wed, Dec 28, 2022 at 05:23:16AM +0100, Emanuel Berg wrote:

[...]

> It's much better if the function itself checks what type the value
> is of and pick a suitable function to compare from that, then the
> user don't have to think about that at all.

Alas, the types don't always carry enough info to know what
comparison that squishy human behind the glass wants. I guess
if they did, they'd be boring to the point of being obnoxious
(perhaps a corollary of Rice's [1] theorem?).

This was the dream of object oriented programming ("Kids, go
compare yourselves").

Cheers

[1] https://en.wikipedia.org/wiki/Rice%27s_theorem
-- 
t

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]