emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109864: Fix minor problems found


From: Stefan Monnier
Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r109864: Fix minor problems found by static checking.
Date: Tue, 04 Sep 2012 15:19:15 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

>> Emacs tends to avoid 'const', though, partly
>> because it predates 'const, and partly I expect because
>> even in these other cases the readability advantage of
>> omitting 'const' arguably trumps the minor advantages
>> of using 'const'.
> I think mostly because retrofitting const to a codebase the size of
> Emacs is a huge task, and isn't something that can be done gradually.

Indeed.  I don't mind people using `const' in their code, but please
don't go and add `const' all over the place.


        Stefan



reply via email to

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