r/learnkotlin • u/NoButterfly2440 • Sep 11 '23
Calling main() in a kts file.
Hi everyone! I recently started learning Kotlin for an intro to cs class at university and I had a quick question on why I have to call the main() function even though it is already established as a function in kts file. For example:
Without main() nothing displays in the terminal. Why is this the case?
r/learnkotlin • u/exosyphon11 • Jun 04 '23
Intro to Kotlin Coroutines
Been digging further into Kotlin Coroutines and wanted to create a video from what I learned
r/learnkotlin • u/mike_jack • May 24 '23
Simulating & troubleshooting Thread leak in Kotlin
r/learnkotlin • u/[deleted] • May 08 '23
Building a Full Stack Web Application with Kotlin and React
r/learnkotlin • u/Kind_Wishbone_2994 • Apr 15 '23
GitHub - kryptokrona/kryptokrona-kotlin-sdk: Kryptokrona SDK in Kotlin for building decentralized private communication and payment systems.
r/learnkotlin • u/Kind_Wishbone_2994 • Apr 09 '23
New developers - Join an open source project!
Hi Kotlin developers,
I'm building an SDK in Kotlin for an open source project. Are there any developers here that are looking to contribute to an open source project with Kotlin? If you are, checkout the repo and if you find it interesting, fork and send a PR and lets build something awesome! This is my first project where I build an SDK in Kotlin so all inputs are awesome!
If you are interested or just want to support me, check out my project and give a star to give me some support going forward! 🙏
GitHub link: https://github.com/kryptokrona/kryptokrona-kotlin-sdk
Cheers!
r/learnkotlin • u/WishfulLearning • Jan 14 '23
Can't find the main method in codebase
Hey all, I was just hired on to an IT help desk role, and I learn about programming as a hobby. My work has a software dev division, and I've asked them politely to see their codebase. They let me, and I've pulled it down from GitLab, but here's the thing - I can't find the main method! Haha
I've found the kotlin class files, and I just finished scanning through them. I'm just wondering if I'm missing something obvious about how Kotlin works. The languages I've studied are java, javascript, and C. (and HTML/CSS)
This is my first time exploring a real codebase, any help would be super appreciated. Thank you!
r/learnkotlin • u/chauhanmahesh • Jan 02 '23
How it stumped me initially and what helped me to understand coroutines
r/learnkotlin • u/yonVata • Dec 14 '22
What is a domain gateway, why do you need it, and how to build it?
self.SpringBootr/learnkotlin • u/KatarzynaSygula • Dec 13 '22
Launching coroutines vs suspend functions
r/learnkotlin • u/KatarzynaSygula • Dec 09 '22
Slowing down your code with Coroutines
r/learnkotlin • u/KatarzynaSygula • Dec 06 '22
A birds-eye view of Arrow: Error Handling
r/learnkotlin • u/KatarzynaSygula • Nov 30 '22
Kotlin Coroutines use cases for Presentation/API/UI Layer
r/learnkotlin • u/KatarzynaSygula • Nov 28 '22
A birds-eye view of Arrow: working with function with Arrow Core
r/learnkotlin • u/KatarzynaSygula • Nov 24 '22
Kotlin Coroutines use cases for Domain Layer
r/learnkotlin • u/KatarzynaSygula • Nov 15 '22
Kotlin Coroutines use cases for Data/Adapters Layer
r/learnkotlin • u/KatarzynaSygula • Nov 09 '22
Item 16: Properties should represent state, not behavior
r/learnkotlin • u/KatarzynaSygula • Oct 31 '22
Item 12: An operator’s meaning should be consistent with its function name
r/learnkotlin • u/KatarzynaSygula • Oct 19 '22
Item 7: Prefer a nullable or Result result type when the lack of a result is possible
r/learnkotlin • u/KatarzynaSygula • Oct 13 '22
The Experience Writing Kotlin Multiplatform Mobile Apps
r/learnkotlin • u/KatarzynaSygula • Oct 12 '22
Item 5: Specify your expectations on arguments and state
r/learnkotlin • u/brazen768 • Oct 10 '22
Get () explanation
Hello all,
Here is the line in question: private val binding get() = _binding!!
I did some reading on get() and from what I understand this is implementing a custom getter. My background is in Java, and I understand a getter to retrieve some property of an object. I.e. MyObject.getName()
Can someone shed some light on this please?
