t8code icon indicating copy to clipboard operation
t8code copied to clipboard

Introduce consistent naming for scheme interface functions

Open lukasdreyer opened this issue 9 months ago • 1 comments

Feature request

Consistent naming for scheme interface functions

Is your feature request related to a problem? Please describe. Some functions are called get_, set_to_, construct with similar ideas.

Describe the solution or feature you'd like From mattermost discussion: get - if information on the current element is returned but the element is not changed (one const input) set - if something is changed for the Input element (one input = output) construct - if a new element is build from information of the input element (one const input, one non-const input = output)

Estimated priority Which of these is most applicable (remove the others):

"Priority: low" Should be solved eventually

lukasdreyer avatar Mar 11 '25 14:03 lukasdreyer

Answer from @holke from mattermost:

get - if information on the current element is returned but the element is not changed (one const input) set - if something is changed for the Input element (one input = output) construct - if a new element is build from information of the input element (one const input, one non-const input = output)

lukasdreyer avatar Mar 24 '25 15:03 lukasdreyer