[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: outlet v. context
From: |
Dan Eble |
Subject: |
Re: outlet v. context |
Date: |
Tue, 7 Jul 2020 19:32:25 -0400 |
On Jul 7, 2020, at 19:20, Carl Sorensen <carl.d.sorensen@gmail.com> 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 noun. flag() refers to an
> object -- a flag. get_flag focuses on the action, not the result. And most
> often, it's the result that I want -- which is a noun.
I'll flag() your message and consider it later this evening.
Should we also consider the Scheme language?
git grep 'ly:get' scm
—
Dan