emacs-devel
[Top][All Lists]
Advanced

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

Re: master 37889523278: Add new `swap` macro and use it


From: Stefan Kangas
Subject: Re: master 37889523278: Add new `swap` macro and use it
Date: Sat, 13 Jan 2024 02:02:53 -0600

Eli Zaretskii <eliz@gnu.org> writes:

> Regardless of portability issues, I think the macro should be called
> SWAP, upper-case, to avoid clashes with functions.

Upper case more conventional for a macro, indeed.  I consider these
three as exceptions: min, max, swap.  The former two, we already have.

But I won't insist on using lower case also for `swap`, if you think
it's better not to.

Do you think it's worth changing upper case function names to lower case
also?  I find lower case names makes code more readable.



reply via email to

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