> For the complete documentation index, see [llms.txt](https://android-course.cornellappdev.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://android-course.cornellappdev.com/archive/fall-2024-course-material/lecture-1.5-beauty-of-kotlin.md).

# Lecture 1.5: Beauty of Kotlin

Slides:<https://docs.google.com/presentation/d/1rkCXZyDmC-l0Wk3tGaPp0nEOP2OQPBK0KD5O5Q0iZ8A/edit?usp=sharing>

It's ok if you don't understand every detail, but make sure you have a high level idea of the concepts in this lecture! We will be using these concepts all throughout the course. The last section is more of a bonus on how to use Kotlin's standard library to make your code even more concise, optionally take a look at those slides we didn't get to during class.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://android-course.cornellappdev.com/archive/fall-2024-course-material/lecture-1.5-beauty-of-kotlin.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
