This package offers a concise introduction to Kotlin (using JupyterLab), focusing only on the essential concepts and skills. It covers the fundamental topics necessary for understanding and practicing (or reviewing) Kotlin, including:
- Introduction
- Functions
- Lambdas
- Collections
- Objects
- Classes
- OOP: Introduction
- Useful Kotlin Classes
- OOP: interfaces
- Equality check,
is
andas
operators - Async/Concurrent: Introduction
- Async/Concurrent: Basics
- Async/Concurrent: Coroutine Context
- Async/Concurrent: Cooperative Cancellation
- Async/Concurrent: Best Practices
- Generics
- Flows
- Channels
- StateFlows
- Shared Mutable States and Concurrency
- Reading and Writing Files with Coroutines: Intoduction
This project is designed for intermediate-level developers who are looking to deepen their understanding of core concepts in Kotlin. It is particularly beneficial for those who want to expand their knowledge, review general principles, or gain a broader perspective on Kotlin. If you are an expert in this field, you might find the material NOT directly applicable to advanced scenarios. However, if you are eager to refresh your foundational skills or explore different approaches, this resource may still offer valuable insights
Please note that this package is actively being modified and updated. We are continuously working to improve and expand the content based on feedback and new developments in Kotlin. New features, topics, and enhancements will be added over time.
- Introduction and Basics
- Collections
- Object and Classes
- Functions and Lambdas
- OOP
- Async/Concurrent programming
- and more...
To get started with this package, follow these steps:
-
Install Python (if not already installed):
- Refer to Python to download and install Python.
-
Install Kotlin and Java:
- Ensure you have Kotlin and the Java Development Kit (JDK) installed. Kotlin runs on the JVM (Java Virtual Machine), so you'll need both.
-
Install the Kotlin Jupyter Kernel:
- You need the Kotlin Jupyter Kernel for Jupyter to run Kotlin code. You can install it using the following commands:
pip install kotlin-jupyter-kernel python -m kotlin_jupyter_kernel.install
- You need the Kotlin Jupyter Kernel for Jupyter to run Kotlin code. You can install it using the following commands:
-
Clone the Repository:
git clone https://github.com/me-moghadasian/kotlin-learners-package.git
-
Navigate into the Project Directory:
cd kotlin-learners-package
-
Install JupyterLab (if not already installed):
- If you don't have JupyterLab installed, you'll need Python and JupyterLab. You can install JupyterLab using:
pip install jupyterlab
-
Start JupyterLab:
jupyter lab
-
Open and Explore the Notebooks and Scripts:
- Use JupyterLab to open and explore the notebooks and scripts provided in the package.
This package is still under development. New features and improvements will be added over time.
This project is licensed under the MIT License - see the LICENSE file for details.
Mehdi Moghadasian