Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
I love Kotlin. For me it is the best of all programming languages. So whenever I can I go for it.
For me personally there is no reason anymore to use plain Java, but it depends on who works with me or if I have other restrictions -
@danielspaniol really? I really want to programming in kotlin, but I never had seen a big project using kotlin (Sorry about that).
I normally use Java with vaadin and spring, and I Saw kotlin can use this too, so i'm working in a small personal project (for the collage) and I' almost changing from Java tô kotlin, do you have some advice for me? -
@RazorSh4rk functional paradigm, more active development and open source, easier to learn and not as archaic, also compiles to JavaScript, MUCH less boilerplate code just to name a few reasons.
-
@raphaelrossi to be honest I am no professional Java developer. At work we use .NET. But fur my university projects I use Kotlin whenever I can. I haven't looked for big projects but for my purposes it is the optimal language. Right now I build a Kotlin wrapper for Elasticsearch and Kotlins features make it so easy to build the API like I want it. As my firts bigger project with Kotlin we made a small 2D plattformer which worked great. I think for Spring Kotlin is almost better than Java
-
chch14847yOnce you use Kotlin you can't go back. I have been using it for 1.5 years now as my main language and it's awesome.
-
chch14847y@RazorSh4rk Why would you write something if it translates to machine code anyway?
Also, it's not true. -
mt3o19137yFor any serious project I'd use java. Just because I trust my skills. I wrote few scripts in Kotlin but that's not enough for me to be certain I can code anything I want.
-
@RazorSh4rk Kotlin does not translate to Java. As Java, Kotlin compiles directly to JVM Bytecode.
-
Celes6877yIf I had to work on a Java project? I'll leave the room and never return, is that an acceptable answer? :D
-
Celes6877y@raphaelrossi well for me the only reason that Java still exist is that business were working with it and it will cost to much to change. Sorry :(
-
Celes6877y@raphaelrossi C++ but people think it's 'low level', if I want to replace java I'll say C#/Mono seems to be the perfect choice. Didn't find any advantage for Java against C#/Mono. Well if you have some time, give me some :p
-
mt3o19137y@Celes since C/C++ has direct access to memory, allows inline asm, and compiler directives regarding use of machine dependant specifics, C/C++ is low level. You can use abstractions, or even get some toolkit providing garbage collection, but still, it's low level. On the other hand java, kotlin, python or even php don't allow such things and abstract whole memory management stuff away from you.
Regarding java being kept alive because business uses it - that's false claim. Tons of serious stuff, unrelated to business uses it. But I think you should learn about COBOL since you brought up this argument. ;-) -
Celes6877y@mt3o C++ doesn't restrict you, so you can do low level or high level, but people seems afraid thinking it's hard to learn. Well you'll need more time to 'master' it though. I wanted to know if there was any good point for Java if I compare it to C#/Mono, not that people still use it outside business :p it's used because it's popular, and it's popular also because you can get a job with it. Not only but that help a lot.
Don't really have the time to learn another language right now sorry :/ -
mt3o19137yIf you have no time, than that's your problem, sorry ;-) just like my laziness to learn haskell. ;-)
Why java when you know c#? Because license is better than with dot net, software is truly portable, probably more external packages, better IDE support (mono develop is just a toy compared to eclipse, eclipse is pile of shit compared to visual studio while visual studio is crippled compared to intellij). You could use Rider but that's using java-based IDE to develop in c# ;-)
Java is not bound to Microsoft technologies (think of version control support in Microsofts team something vs git support in any other ide).
There's no visual basic around here. :-D
No dependencies involving P/Invoke.
Strictier syntax (i hate linq expressions dropped here and there in my source code)
However most important is - to do serious stuff - use the toolkit you know the best, whether it's dot net, java or whatever.
Related Rants
I have a little ask for you guys, If you need to start a Java project, Will you use kotlin or Just Java? I'm a little confused with this choice, so i need more visions
undefined
java
kotlin