lilypond-devel
[Top][All Lists]
Advanced

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

Re: Tie: add some C++ rigor and concision (issue 252230043 by address@hi


From: David Kastrup
Subject: Re: Tie: add some C++ rigor and concision (issue 252230043 by address@hidden)
Date: Thu, 23 Jul 2015 06:55:21 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Dan Eble <address@hidden> writes:

> On Jul 15, 2015, at 02:01 , David Kastrup <address@hidden> wrote:
>
>> By turning the functions into member functions
>> and letting the corresponding trampolines do the type verification while
>> establishing the this-pointer, this is addressed summarily rather than
>> at each call location.
>
> Good idea.  This is rather complementary to the changes I made to
> other Tie methods.
>
>>> Here's a script in progress that currently does way, way too much.
>
> That’s more than I’ve done with sed before, but so far I think I have
> picked out which parts make which changes.
>
> One thing that is obviously incomplete is that the final classes are
> not derived from Grob.  Was there anything else in your plans?  If
> you’re busy with other things, I am willing to try to complete this
> callback refactoring.

I'm awash with other stuff which is why this has been sitting around for
so long.  I don't consider it likely I'll return to it in the next half
year.  One reason is the extent of the changes: going this route will
likely require hours of work backing out everything that doesn't really
match (I think the next step I was planning on is figuring out per
script which stuff was derived from the right classes for doing this
kind of change).  And hours of manual work of the same kind is something
I do rather badly.  I am more likely to spend a week on making some
script do it.

-- 
David Kastrup



reply via email to

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