#
Week 02 - Kotlin
#
Lectures
Please watch these lecture videos before attending class this week.
#
1. Kotlin basics
A review of the fundamental features of the Kotlin programming language.
#
2. Object-oriented Kotlin
Classes, constructors, inheritance...
#
3. Functional Kotlin
First-class functions, Lambda expressions, Collection classes.
It's recommended that you complete and submit the quiz before class, since it's based 100% on the lecture videos and slides. You'll probably perform much better when the material is "fresh"!
#
Wed (in-class)
In the first 30-45 mins of this class, the instructor will walkthrough the topics below. The remainder of the class will be a working session for you and your team.
#
1. Install toolchain
Brief overview of setting up IntelliJ and other required tools (10 min).
Demo
- Create a new project, and run 'Hello World'.
- Opening existing projects from GitLab/public.
#
2. Gradle build configuration
Lecture on build systems, and how Gradle manages build configuration. Demo of how to build a working console application in Gradle (30 min).
Demo
- Creating a Gradle project.
- Modifying the project config (new-project, adding a plugin).
- Version catalog (GitLab/public:version-catalog).
#
Fri (in-class)
Fri is a dedicated working session for you and your team. The instructor and TAs will be present to answer questions.
Remember that you are graded based on attendance! You need to be present for at least one class each week to get the attendance grade. The instructor will have a sign-in sheet, so make sure to sign it when you arrive.
#
TODO
- Submit Q1 by 11:59 PM Fri.
- Submit M1: Project Setup by 11:59 PM Fri.