DEV Community

loading...

Should I learn Java?

adam_cyclones profile image Adam Crockett ・1 min read

Yes it's another one of those posts.

I am at a crossroads, I want to call myself full stack in the enterprise world so that the roles that I frequently land can benifits from a language that they actually use.

I know some cpp and rust but I've never seen any of this used in companies that I have worked for in the enterprise space, where tried and true is king.

So one of the ways I could learn Java in a scoped way would be through web assembly. I think that's an area of Java that is a little neiche but intersts me.

I know you can't answer for me but I like to write down my thoughts.

Discussion

pic
Editor guide
Collapse
ankitbeniwal profile image
Ankit Beniwal 🙂

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 Author

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 Author

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 Author

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.