DEV Community

Discussion on: Should I learn Java?

Collapse
 
ankitbeniwal profile image
Ankit Beniwal • Edited

I believe that gone are the days when we use to refer people as "java developer" or "python developer". Now, with the continuously ever-growing universe of technology one must be ready to learn and work on any new framework/language in a week or two to cope with the fast-paced industry environment.

But again, it totally depends on one's skills and the need of company one is employed with. Some Companies still rely on experts in a particular domain/tech. So, if you think learning java will give you an edge over others then you should probably learn it. And otherwise also, Learning a new thing never hurts if you can maintain a balance between learning the new skill and your current job.

All the best 👍

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀 • Edited

The truth is the edge will not be awarded me for learning Java in my current position no. Nor am I really interested in oop, however In all of my enterprise jobs, Java has been a factor. So is it reasonable to assume that the trend will continue for the foreseeable future, who's to say. In truth I probably just want to do something weird with Java such as make it run in the browser... Again 😹

Collapse
 
misobelica profile image
Mišo

Learn Kotlin instead then. It's better than Java and you can run it in the browser just fine ☺️ And you can even mix it with Java if you really have to to.

Thread Thread
 
adam_cyclones profile image
Adam Crockett 🌀

I'm am interested in kotlin for a few reasons come to think of it. Im comfortable in typescript which has a similar syntax. Kotlin upon last inspection had a js transpiler, what I'm hoping it can do now is compile to webassembly. Let the reaserch begin.

Thread Thread
 
adam_cyclones profile image
Adam Crockett 🌀

Kotlins native compiler is based on llvm so that's a green light. 🥦

Thread Thread
 
misobelica profile image
Mišo

Yep, Kotlin can transpile to JS or WASM, can run on mobile and native. And when you start counting with graalvm.org/ the interoperation with other languages (Python, C, JS, ...) through Truffle gives you real superpowers. They are edge tech. now but I believe it's worth exploring. You can always fallback to just Kotlin on backend and mobile where is it pretty mature.