Skip to content
Julia Ogris edited this page Aug 14, 2023 · 11 revisions

Learn and Practise

The table of contents below is not yet fully fleshed out, see the sidebar on the right for ready to go Learn and Practise sections.

  1. Sequential Instruction Execution
    print; rect, circle, line, move, color
  2. Types and Variables num, string, bool, Declaration (typed, inferred). read
  3. Flow control
    while, if, for
  4. Operators
    1. num arithmetic: +, -, *, /, %
    2. string concatenation, indexing, slicing
    3. bool: and or !
    4. comparison == <= >= < > != (num & string)
    5. ()
    6. operator precedence
  5. Factoring code
    func, parameters, arguments, return type and value
  6. Structuring data
    arrays, maps; indexing, slicing, ranging
  7. Miscellaneous:
    1. event handlers on
    2. \", \n, \t; printf, sprintf, %%;
    3. standard library: math, rand, string, advanced drawing
    4. errors err (eg failed str2num)
    5. any, reflection, type assertions
    6. variadic functions
  8. Algorithms & data structures
    Trees, linked lists, recursion, search, sort, ...
  9. Modules / importing