Entry-point #2809
L4stR1t3s
started this conversation in
Language design
Entry-point
#2809
Replies: 1 comment
-
Just adding some context: #1869 was the leads question, and #1869 (comment) has their rationale. I don't think that other possible meanings of |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I just noticed that "Run" has been chosen as the entry-point? I understand the use of a verb is preferred but I don't expect a function named "Run" to act as an entry-point.
"Run" is generally used in the context of starting a program, process, ... but not the actual execution of it. I don't expect a function named "Run" to wait for the execution to finish before returning. I expect a function named "Do" to wait for the execution to finish, and then return. Not advocating to use "Do" as entry-point, just pointing out that different verbs create different expectations because of their prior use.
Beta Was this translation helpful? Give feedback.
All reactions