Welcome back for Day 2!
We're thrilled to see you again and congrats on completing the first day. We hope you've had the opportunity to connect with your teammates and enjoyed the networking session.
Today, we'll delve deeper into the Motoko language with two specialized lectures and a new project. Let's dive in!
Be sure to consult the calendar for the precise schedule of each lecture.
Title | Mentor | Description |
---|---|---|
Motoko: Array, List & Buffer | Stoll | This lectures covers the datastructures Array , List & Buffer and how to use them. |
Motoko: Char, Text & Iter | Seb | This lecture covers the types Char and Text in Motoko and explains how those are linked through the type Iter . |
Use this list as a guide for your day, it contains all the material that you need to read and the challenges you need to tackle.
- Read Chapter 2: Common programming concepts.
- Read Chapter 3: Primitive Types in Motoko.
- Read Chapter 5: Modules and the Base library in full.
- Read Chapter 6: Storing data in data structures
- Read Chapter 7: Non-primitives types.
- Read Appendix 2: Unlocking the power of DAOs with canister in full.
- Read Appendix 4: Overview of the NNS in full.
- Read Appendix 7: Debugging and testing with Motoko
- Complete the project of the day.
Before you finish your day, review the following list and ensure that you have addressed each item on it. It's important that you have a clear understanding of all these concepts.
Why not try explaining them to one of your teammate to gauge your level of understanding?
- Understand what is a module.
- Understand what is the base library, how to use it and where to find the source code.
- Understand how to use the Debug module to test your code locally.
- Understand how to manipulate control flow operators in Motoko:
if
,else
,for
,while
,switch/case
- Getting familiar with more primitive types in Motoko:
Text
,Char
& the unit type. - Getting familiar with simple data structures in Motoko: Array , List & Buffer.
- Getting familiar with more advanced types: Tuples and Objects.
- Understanding what is DAO, how it can be used and how the Internet Computer enables new innovative usecases for those organisations.
- Becoming familiar with an important DAO on the Internet Computer: the Network Nervous System.
Before deciding to call it Motoko, the language developed by DFINITY was actually called ActorScript.
Good luck 🍀