Replies: 1 comment
-
Maybe this's related :#538 |
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
-
This function takes two choices, you are standing up or down
Because
direction
is only used by this function, and we don't want any more directions to appear in the future, it's appropriate to the audience for us to restrict the type of direction to be used only by this function. Meanwhile it's a waste in space to put the declaration in its own line because it serves only for this function, therefore we instead say there're things that belong to a function such as its parameter types.Beta Was this translation helpful? Give feedback.
All reactions