codethesaurus / codethesaur.us

A polyglot developer reference tool to compare programming language concepts side-by-side! Great for learning new languages or using for reference.
https://codethesaur.us
GNU Affero General Public License v3.0
289 stars 170 forks source link

Proposal to Add Kotlin "Classes" Concept #728

Closed naeem4633 closed 4 months ago

naeem4633 commented 4 months ago

Language you would like added

Kotlin

Information on the language

Kotlin is a modern, statically-typed programming language widely used for Android development and known for its expressive syntax and compatibility with Java.

Proposal

I propose to start adding Kotlin to the codethesaurus repository, beginning with the "Classes" concept. This will include providing example code snippets and explanations for classes in Kotlin.

Example Snippet

Classes in Kotlin:


class Example {
    val property: String = "Hello, World!"
}
geekygirlsarah commented 4 months ago

I'm here for adding Kotlin! Would you like to add it or want me to leave it open for other contributors?

naeem4633 commented 4 months ago

I would like to start adding myself. I plan to start with the Classes section, allowing other developers to contribute additional sections if they wish. If needed, I can expand on the remaining sections later on.

geekygirlsarah commented 4 months ago

Sounds good to me! Docs are at https://docs.codethesaur.us, and let me know if you have any questions!

naeem4633 commented 4 months ago

I've opened up the pull request, the classes part is done. I'll keep adding more parts in the future,