Course of Raku / Essentials

Functions essentials

  • Creating and calling functions — 1 quiz and 6 exercises
    • Function names — 1 quiz
    • Function parameters — 2 quizzes
    • Returning the result — 1 quiz
    • Positional parameters — 1 quiz
    • Named parameters — 2 quizzes
    • Default values — 2 quizzes
  • More about functions — 1 exercise
    • Mind the space
    • Typed parameters — 1 quiz
    • Return type — 1 quiz
    • Multi-functions — 3 quizzes
  • Built-in functions for printing — 2 exercises
    • say
    • print
    • put
    • note
  • The MAIN function — 3 exercises
    • Reading command-line arguments — 2 quizzes
    • Multiple MAIN functions — 1 quiz
    • Using unit sub — 1 quiz

The Complete Course of the Raku Programming Language

About the course · GitHub

Free and open source · Written by Andrew Shitov · Supported by The Perl & Raku Foundation

© 2021–2026 by Andrew Shitov