Course of Raku / Essentials / Functions 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 coincides with the name of a built-in routine. |
| 1 | _f | May informally 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
← Function names | Function parameters →
Translations of this page: English • Deutsch • Español • Italiano • Latviešu • Nederlands • Български • Русский • Українська