Skip to content

Home

CC BY-SA 4.0

This workshop is an introduction to the Julia programming language, covering the following topics:

  • Variables and types:
    • Numeric variables and math operations
    • Boolean variables
    • Strings
    • Containers
  • Syntax:
    • Control flow
      • Conditional statements
      • Loops
    • Variable assignment
    • Modules
    • Macros
  • Functions:
    • Syntax
    • Advanced topics:
      • Docstrings
      • Default values
      • Keyword arguments
      • Anonymous functions
    • Multiple dispatch
  • Functional programming
    • Use the vectorized form of a function.
    • Apply a function over an array with map and foreach.
    • Collapse containers into a single value with reduce and mapreduce.
    • Filter and count values based on boolean variables using filter and count.
    • Compose and chain functions.

Prerequisites

This workshop provides an introduction to the Julia programming language with a focus on functional programming. Familiarity with programming concepts will be helpful but not required.

Schedule

Part 1: variables and types

Time (HH:MM) Activity Description
00:00 Setup Download files required for the workshop
00:05 Numeric variables and math Showcase 01-variables/01-numeric.jl
00:10 Boolean variables Showcase 01-variables/02-booleans.jl
00:15 Strings Showcase 01-variables/03-strings.jl
00:20 Containers Showcase 01-variables/04-containers.jl

Part 2: syntax

Time (HH:MM) Activity Description
00:05 Conditional statements Showcase 02-syntax/01-conditionals.jl
00:20 Loops Showcase 02-syntax/02-loops.jl
00:30 Variable asignment Showcase 02-syntax/03-assignments.jl
00:35 Modules Showcase 02-syntax/04-modules.jl
00:40 Macros Showcase 02-syntax/05-macros.jl

Part 3: functions

Time (HH:MM) Activity Description
00:10 Syntax Showcase 03-functions/01-syntax.jl
00:30 Advanced topics Showcase 03-functions/02-advanced.jl
00:35 Multiple dispatch Showcase 03-functions/03-dispatch.jl

Part 4: functional programming

Time (HH:MM) Activity Description
00:10 Apply functions over an array Showcase 04-functional_programming/01-apply.jl
00:15 Collapse containers into a single value Showcase 04-functional_programming/02-reduce.jl
00:20 Filter and count values Showcase 04-functional_programming/03-filter.jl
00:30 Compose and chain functions Showcase 04-functional_programming/04-composition.jl

Get in touch

If you have any suggestions or want to get in touch with our education team, please send an email to training@pumas.ai.

Authors

License

This content is licensed under Creative Commons Attribution-ShareAlike 4.0 International.

CC BY-SA 4.0