lilypond-devel
[Top][All Lists]
Advanced

[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:04:48 -0400

On Jul 4, 2020, at 11:27, Dan Eble <dan@faithful.be> 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 prefer get_foo().  I tend to interpret function names as verbs and "get_" 
clarifies when they are not.  Context can help, but I'd rather have the "get_".

    group()            get_group()
    start()            get_start()
    error()            get_error()
    rank()             get_rank()
    bound()            get_bound()
    output()           get_output()
    rest()             get_rest()
    note()             get_note()
    flag()             get_flag()
    position()         get_position()
    control_points()   get_control_points()
    list()             get_list()
— 
Dan




reply via email to

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