/r/learnkotlin
/r/learnkotlin
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?
Been digging further into Kotlin Coroutines and wanted to create a video from what I learned
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!
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!
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?