Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/func - Section 8.1: Definition and Storage (2023-10-02) - decl_func instead of func? #247

Open
sback opened this issue Oct 11, 2023 · 1 comment
Labels
in-content Lesson content to-change Change something
Milestone

Comments

@sback
Copy link
Contributor

sback commented Oct 11, 2023

In Chapters 7 and 8, all defined operations are represented as verbs, which simplifies understanding with the format do_verb. However, for functions, we use the term func and implement it as do_func. This feels inconsistent to me. The phrase "do a function" is somewhat ambiguous. Perhaps, to maintain consistency, we could name it with a verb, like set_func or decl_func, similar to the set and do_set format used for variables.

@gvwilson gvwilson self-assigned this Oct 11, 2023
@gvwilson gvwilson added to-change Change something in-content Lesson content labels Oct 11, 2023
@gvwilson gvwilson added this to the publication milestone Oct 11, 2023
@sback
Copy link
Contributor Author

sback commented Oct 11, 2023

Considering this again, I would probably go for decl_func rather than set_func as the latter may generate some confusion since we do not give the function a name in the declaration.

@gvwilson gvwilson modified the milestones: publication, revisions Dec 28, 2023
@gvwilson gvwilson removed their assignment Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in-content Lesson content to-change Change something
Projects
None yet
Development

No branches or pull requests

2 participants