Preferences and Suggestions on when to use Java or Kotlin?

I am not trying to be controversial. Just thinking about writing a plugin for teamcity that seems to be able to use either. I think my work writes them with Kotlin and Gradle which I was leaning towards, but I can imagine Java has a more mature ecosystem. I haven’t used much of either, I’m not worried about my ability to learn, just want to know if there are situations where you might want to use one over the other. Is this custom plugin one of those situations?
3 Replies
JavaBot
JavaBot4w ago
This post has been reserved for your question.
Hey @DaMango! Please use /close or the Close Post button above when your problem is solved. Please remember to follow the help guidelines. This post will be automatically marked as dormant after 300 minutes of inactivity.
TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.
The Typhothanian
I don't think there is a big advantage over using one or the other, but I personally use Kotlin for gradle dsl (so it's build.gradle.kts not build.gradle which uses groovy) and Java for the actual content
JavaBot
JavaBot4w ago
💤 Post marked as dormant
This post has been inactive for over 300 minutes, thus, it has been archived. If your question was not answered yet, feel free to re-open this post or create a new one. In case your post is not getting any attention, you can try to use /help ping. Warning: abusing this will result in moderative actions taken against you.
Want results from more Discord servers?
Add your server