Re: outlet v. context

2020-07-07 Thread Carl Sorensen
On Tue, Jul 7, 2020 at 5:32 PM Dan Eble wrote: > On Jul 7, 2020, at 19:20, Carl Sorensen wrote: > > > > The only time I would like a member function of a class to have a verb > name is when it causes a side effect. > > > > When the job of a function is to return a result that can be used > elsew

Re: outlet v. context

2020-07-07 Thread Carl Sorensen
On Tue, Jul 7, 2020 at 5:32 PM Dan Eble wrote: > On Jul 7, 2020, at 19:20, Carl Sorensen wrote: > > > > The only time I would like a member function of a class to have a verb > name is when it causes a side effect. > > > > When the job of a function is to return a result that can be used > elsew

Re: outlet v. context

2020-07-07 Thread Dan Eble
On Jul 7, 2020, at 19:20, Carl Sorensen wrote: > > The only time I would like a member function of a class to have a verb name > is when it causes a side effect. > > When the job of a function is to return a result that can be used elsewhere, > to me the goal is a result, and hence, it is a no

Re: outlet v. context

2020-07-07 Thread Carl Sorensen
On Tue, Jul 7, 2020 at 5:05 PM Dan Eble wrote: > On Jul 4, 2020, at 11:27, Dan Eble wrote: > > > > Ugh. I'm working on the outlet/context change now (involving lots of > rebasing of my work in progress). I'll probably be unwilling to do more > than that immediately, but regardless, I should le

Re: outlet v. context

2020-07-07 Thread Dan Eble
On Jul 4, 2020, at 11:27, Dan Eble wrote: > > Ugh. I'm working on the outlet/context change now (involving lots of > rebasing of my work in progress). I'll probably be unwilling to do more than > that immediately, but regardless, I should let others weigh in on get_foo() > v. foo() first. I

Re: outlet v. context

2020-07-04 Thread Dan Eble
On Jul 4, 2020, at 11:15, David Kastrup wrote: > > While you are at it: I don't see that there is lots of sense in having > get_context () for some classes and context () for others. Or > get_parent_context () for some and get_daddy_context () for others. > Generally the get_ prefix seems a bit

Re: outlet v. context

2020-07-04 Thread David Kastrup
Dan Eble writes: > virtual Context *get_outlet () const; > virtual void set_context (Context *); > . . . > void init_context (Music *, Context *); > . . . > void substitute_outlet (Context *from, Context *to); > > This is driving me nuts. Is anyone attached to the term "o

outlet v. context

2020-07-04 Thread Dan Eble
virtual Context *get_outlet () const; virtual void set_context (Context *); . . . void init_context (Music *, Context *); . . . void substitute_outlet (Context *from, Context *to); This is driving me nuts. Is anyone attached to the term "outlet"? If so, please suggest ho