Course of Raku / Addendum 🆕 / Types and text machines

Objects and classes

Modelling things as objects: classes with attributes and methods, inheritance, roles, and methods that build or transform other objects.

Exercises

This section contains 6 exercises. Examine all the topics of this section before doing the coding practice.

  1. A stack class
  2. A bank account
  3. Shapes sharing a role
  4. Which quadrant
  5. Adding vectors
  6. Animals that speak

Course navigation

Types and text machines   |   A stack class