Skip to content

I'm absolutely in love with Kotlin — I think about it all the time, even in my sleep! This repository showcases everything I built on my journey through Kotlin.

Notifications You must be signed in to change notification settings

sudarshanmhasrup/exploring-the-world-of-kotlin

Repository files navigation

About this repository

I've truly fallen in love with Kotlin. Writing code in Kotlin has been way more enjoyable and satisfying than any other language I've worked with—whether it was Java, JavaScript, or anything else. The syntax is clean, the code is super readable, and it’s genuinely fun to work with. I used to build Android apps using Java, but ever since I discovered Kotlin, there’s been no turning back.

Anyway, enough about my love for Kotlin! This repository contains all the Kotlin projects and source code I’ve created throughout my Kotlin journey. In this repository, you'll find great examples of using Kotlin for backend, Android, and multiplatform development. If you come across any errors or areas for improvement, I’d love to hear your feedback. Feel free to drop me an email at [email protected].

Project modules

This project follows a modular structure to manage the entire source code. Although it can make the code harder to read and understand, it greatly simplifies maintaining the codebase. Below is a list of all the available modules in this project along with their respective uses.

  • practice-solutions\ - This module is dedicated to problem-solving in Kotlin. I created it primarily to deepen my understanding of Kotlin syntax, programming concepts, and various challenges.
  • android-app\ - This is a regular Android app module, which consumes Android framework-generated by Kotlin Multiplatform.
  • compose-app\ - This is a multiplatform module that produces Android, iOS and Desktop app framework. It contains all the source code required to target iOS and Android mobile apps and desktop apps using Kotlin Multiplatform.
  • design-system\ - This module acts as a library for the project. Since the project has a custom design system implementation, all the necessary theming APIs are provided by this module.
  • shared-components\ - There are so many components that are commonly used across all modules, such as Buttons and TextFields. This module centralizes their declaration and allows all other modules to use these shared components.
  • platform-apis\ - This module module exposes platform-specific APIs to all modules. It contains all required logic for managing platform-specific logic.

Practice solutions

You might be surprised to see that I’ve included basic, beginner-level programs at the start. But here’s my reasoning: true mastery begins with a solid foundation. When your basics are clear, and you have a deep understanding of the features a language offers, you’re better equipped to tackle complex problems. That’s why I chose to start like a beginner and gradually progress to more challenging questions.

  1. Create a function that takes two numbers as arguments and returns their sum.
  2. Write a function that takes an integer minutes and converts it to seconds.

Thank you

Not saying this is the best repo out there for Kotlin concepts, but if you found it helpful or think I’ve done a decent job, just drop a star — that’d mean a lot! Thanks a lot for checking it out! 🙌

About

I'm absolutely in love with Kotlin — I think about it all the time, even in my sleep! This repository showcases everything I built on my journey through Kotlin.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages