emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs rewrite in a maintainable language


From: David Kastrup
Subject: Re: Emacs rewrite in a maintainable language
Date: Wed, 14 Oct 2015 13:46:18 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Tassilo Horn <address@hidden> writes:

> Przemysław Wojnowski <address@hidden> writes:
>
>>>> I don't. I have no problem spending time to replace "char const *"
>>>> into "const char *". Browsing through a code base that I want to get
>>>> familiar with and fixing a small annoyance doesn't sound bad to me.
>>>
>>> Pointless churn. Find something that fixes an bug, or adds a useful
>>> new feature, and work on that. You will find it more rewarding, and
>>> other users and developers will find your contribution more helpful.
>>
>> Refactorings that increase maintainability (like this one) are very
>> useful to other developers.
>>
>> Such changes, even small, accumulate towards something that can be
>> called a "maintainable system".  In (wannabe) healthy systems it is
>> everyday practice.
>
> OTOH, they reduce the helpfulness version control offers to new and
> old developers.  I.e., it's good when "git blame" shows you the last
> changes which actually changed the code, and switching "char const *"
> to "const char *" or vice versa are no real changes.

On the other hand, the blame for declarations is mostly less interesting
than the blame for the actual use of such variables, so the attribution
damage is not all that important in this case.

> In the same vein, it's of course good to have one consistent indentation
> style,

git blame -w

helps skipping across spacing changes.

-- 
David Kastrup



reply via email to

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