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

Mention function/variable naming possibilities and conventions in the learning module #1283

Closed
angelikatyborska opened this issue Mar 3, 2023 · 0 comments · Fixed by #1325

Comments

@angelikatyborska
Copy link
Contributor

There are two pieces of information that are missing from the learning module, that users for a programming language should know:

  • what are valid function/variable names
  • what are typical function/variable names

We should make sure that the introductions to some of the early concept exercises mention:

  • Casing (functions and variables snake_case, module names PascalCase)
  • Which characters are allowed in function, variable, and module names (people found it surprising to see an argument named legacy? in one exercise)
  • What are some naming conventions
    • boolean functions with a question mark (mention this in the boolean concept?)
    • raising functions with an exclamation mark (mention this in the raising errors concept?)

Review the introductions and find appropriate places to insert this information.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant