Java or Kotlin

Status
This thread has been locked.

TropicalDev

Banned
Feedback score
0
Posts
23
Reactions
20
Resources
0
I've been wondering this for awhile, do people prefer to use Kotlin or Java for Minecraft development? I personally use java but its gonna be interesting to see what all you other developers use!
 
Banned forever. Reason: Ban Evading (RealDahVoid, https://builtbybit.com/members/realdahvoid.71360/)
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

ItsEatHam

//
Supreme
Feedback score
0
Posts
13
Reactions
1
Resources
0
I've been wondering this for awhile, do people prefer to use Kotlin or Java for Minecraft development? I personally use java but its gonna be interesting to see what all you other developers use!

Usually most Minecraft-Plugin developers first start out using Java, as PERSONALLY (Not to be Controversial) Its easier to first learn. And there are also way more public tutorials on Java then Kotlin involving Minecraft Development.

And if they started out learning Java, high chances that they'd stay with it.

Idk thats what I think :)
 

Function

Minecraft Plugin Developer
Supreme
Feedback score
38
Posts
938
Reactions
332
Resources
0
I want to try Kotlin, haven't even touched it yet saw code on it though.
 

Great_Array

Feedback score
0
Posts
127
Reactions
59
Resources
0
I wouldn't touch Kotlin if you payed me. Its fine to use it for apps but for general software development purposes I just stick with java and maven
 

WhitehatD

Plugin Developer
Supreme
Feedback score
11
Posts
94
Reactions
31
Resources
0
Kotlin is just Java made easier, in my opinion, it has some features that java doesn't have, which on long term make your life easier. However, I prefer working with Java because I'm more used to it and it's generally used more in Minecraft Development than Kotlin.
 

Scifi

Supreme
Feedback score
4
Posts
577
Reactions
208
Resources
4
I use both, Kotlin is mainly my warmup / private language if I'm doing something specifically for myself kotlin due to my incompetency with the language and java for public / projects where others will see the code or if its for an actual project.
 

NV6

the opensource person(?)
Premium
Feedback score
8
Posts
383
Reactions
223
Resources
1
I've been wondering this for awhile, do people prefer to use Kotlin or Java for Minecraft development? I personally use java but its gonna be interesting to see what all you other developers use!
I personally use Java, but I'm also learning Kotlin, just for fun. I do think Kotlin is a lot easier than Java, but I don't think it should be people's go-to language, primarily because:
  • Simplicity
    • Although simplicity generally isn't a bad thing - it can make people extremely lazy. Java in itself is already simplistic enough, with it's built-in memory management and garbage collector, and more.
  • It's trying too hard to NOT be Java.
    • In my opinion, the language looks more like JavaScript than Java.
    • It's changing things which don't make sense (in my opinion) - why do you have to change the keywords? Why would you change entire parts of the syntax?
    • Despite the before mentioned points, in the end of the day it's still Java, same runtime, just with some altered syntax and built-in libraries.
But, obviously it all comes down to personal preference.[DOUBLEPOST=1620221326][/DOUBLEPOST]
And there are also way more public tutorials on Java then Kotlin involving Minecraft Development.
This is obviously true, but as long as you know the syntax of Kotlin, you could easily port the code into Kotlin, this would be an even more efficient way of learning since you can't directly copy-paste code. This is why I think nobody should start off by coding using specific libraries (such as Spigot or JDA), because you should learn the basics of the language itself first.
 
Last edited:

Scifi

Supreme
Feedback score
4
Posts
577
Reactions
208
Resources
4
I personally use Java, but I'm also learning Kotlin, just for fun. I do think Kotlin is a lot easier than Java, but I don't think it should be people's go-to language, primarily because:
  • Simplicity
    • Although simplicity generally isn't a bad thing - it can make people extremely lazy. Java in itself is already simplistic enough, with it's built-in memory management and garbage collector, and more.
  • It's trying too hard to NOT be Java.
    • In my opinion, the language looks more like JavaScript than Java.
    • It's changing things which don't make sense (in my opinion) - why do you have to change the keywords? Why would you change entire parts of the syntax?
    • Despite the before mentioned points, in the end of the day it's still Java, same runtime, just with some altered syntax and built-in libraries.
But, obviously it all comes down to personal preference.[DOUBLEPOST=1620221326][/DOUBLEPOST]
This is obviously true, but as long as you know the syntax of Kotlin, you could easily port the code into Kotlin, this would be an even more efficient way of learning since you can't directly copy-paste code. This is why I think nobody should start off by coding using specific libraries (such as Spigot or JDA), because you should learn the basics of the language itself first.
Honestly learning a specific api to start with can be a double edged sword, it can teach you the basic syntax of java / kotlin but it can also make you dependent on some of the methods / library implementations which can also make people very lazy.
 

NV6

the opensource person(?)
Premium
Feedback score
8
Posts
383
Reactions
223
Resources
1
Honestly learning a specific api to start with can be a double edged sword, it can teach you the basic syntax of java / kotlin but it can also make you dependent on some of the methods / library implementations which can also make people very lazy.
If you just learn the language itself first, including all of it's syntax and it's std libraries, learning external libraries afterwards will be much easier than the other way around.
 
Status
This thread has been locked.
Top