Does anyone know an article or something similar that gives a technical comparison of Kotlin to C#?
j
Joel
06/04/2020, 8:39 PM
Kotlin is sponsored by JetBrains and runs on the JVM, C# is sponsored by Microsoft. Otherwise they are the same and you pick whichever one agrees with your ecosystem. 😄
😕 1
d
Draget
06/04/2020, 8:55 PM
Yes, I know the technical differences. 😛 Sorry, I should put my question differently:
From a language deisgn perspective, Kotlin offers a lot of nice features (extension-functions, a concise way of writing DTOs, 'extended enums' by sealed classes that help to catch a lot of things in the compile phase, almost everything is an expression etc.
Draget
06/04/2020, 8:56 PM
I know C# has properties and also decoratos (like annotaions), but I do not know much about 'more modern' language features.
j
Joel
06/04/2020, 9:08 PM
What's your end goal? Is this curiosity or are you deciding between using JVM and .Net?
e
E.Kisaragi
06/05/2020, 12:15 AM
maybe go over border between .NET and JVM
d
Draget
06/07/2020, 2:49 PM
We are discussing a greenfield project in our Team and there is one member who wants to introduce .net.
We have been a java team ever since… and if we want to 'try something new' I'd rather go for another JVM language like Scala, Kotlin etc. Or one with direct support for native compiling like go. I feel like the cost of a completely different ecosystem is high, but I know too little about .net to judge the benefits.
It 'feels' stupid, but I do not want to base my arguments only on 'feelings' 😛