Course of Raku / Essentials / Creating and calling functions / Function names
Quiz — function names
Choose the names which are valid function names.
1 | f | One-letter names are fine. |
1 | say | Note that this coinsides with the name of a built-in routine. |
1 | _f | May informaly indicate some restrictions on using this function. |
0 | 42answer | A name cannot start with a digit. |
0 | -a_b_c- |
No way. |
1 | check-if-that-is-correct | A perfectly valid name. |
1 | OK | OK. |
1 | CheckIfOK | Also fine. |
Course navigation
← Creating and calling functions | Creating and calling functions / Function parameters →
💪 Or jump directly to the exercises to this section.
Translations of this page: English • Deutsch • Español • Italiano • Latviešu • Nederlands • Български • Русский • Українська