Live data from Hacker News

Should I Learn Java in 2018

e4developer.com

21–30 of 165 posts

Re: Should I Learn Java in 2018

#21
post #16

It's the defacto standard language at Amazon. There's no specific requirement that teams write code in Java and all the high level infrastructure makes no presumptions, but there's great internal support for it. And Amazon hired Gosling, so interpret that as you will.

Ryan Gosling really has it all

Re: Should I Learn Java in 2018

#22
I never got the "Should I learn X" posts. The answer is yes to all the "Should I learn X" questions so it's very hard to have a discussion.

Learning another language is _significantly_ easier than learning the first one or two - not to the point of being a master but to the point of being competent.

Should I learn OCaml? Yes, you learn from knowing a functional language and Scala (combines functional and OOP well) and Clojure (a lisp) and C++ (resource management is important) and most of these languages.

Should you learn Node.js? Also yes - it is popular, most of the FE tools are written with it - it's fun to use (subjectively) and it's popular and reasonably fast.

Also Go, Rust, Swift and a bunch of other languages - languages are like philosophies and knowing them helps you understand what you're actually doing better often.

I never understood developers that only know 1-2 languages since it severely limits how you _look_ at problems.

Re: Should I Learn Java in 2018

#23
> Concern 5: Java is too slow/consumes too much memory

It's sad that this is still a thing. Compared to more trendy languages like Python and Javascript, Java is very light on memory. JS is known for being fairly fast and "light", but its actually 5-10x slower than Java and uses 5-10X more memory. And the whole "lightness" of it is a lie. Javascript's run-time is probably bigger and more complex than the JVM.

Java used to be painful, but there's a ton of tools that make it easy to use if you know where to find them. Some, like Lombok, get rid of a majority of the "cruft" by enhancing the language itself. Awesome Java is a treasure trove of useful stuff. https://github.com/akullpp/awesome-java

The combination of speed, flexibility, and robustness can't be found anywhere else, Although Go is slowly catching up.

Re: Should I Learn Java in 2018

#25

One annoyance with Java(and Kotlin too) is that it's pretty much the only language left that you really ought to use a specialized IDE with while pretty much every other language(including C#) you can get adequate support in VS Code or Emacs.

VS Code support for Java ain't bad

Re: Should I Learn Java in 2018

#26
post #5

maybe consider cobol instead?

Well, you do have a point in that COBOL jobs are safe places where you don't have a lot of need in staying up to date with the freshest tech, leaving more time for other things in live than code, same as it goes for many JavaEE shops.

However, lots of banks are rewriting their COBOL code in Java, so you might end up writing some Java anyway.

Re: Should I Learn Java in 2018

#27

If you want a low stress good paid job, where you would be able to rush home at 5pm, then yes. If you are looking for excitement, learn $hype_of_the_year and join a startup, but be ready to learn $hype_of_the_next_year soon.

> If you want a low stress good paid job, where you would be able to rush home at 5pm, then yes.

Those aren't exclusive, you can do something exciting, join a startup, learn $hype_of_the_year and still work for a place that understands that burning out employees is stupid.

It's perfectly reasonable to work for a place that is both exciting and doesn't make you sacrifice your personal life because they acknowledge that it's bad for business.

Re: Should I Learn Java in 2018

#28
post #22

I never got the "Should I learn X" posts. The answer is yes to all the "Should I learn X" questions so it's very hard to have a discussion. Learning another language is _significantly_ easier than learning the first one or two - not to the point of being a master but to the point of being competent. Should I learn OCaml? Yes, you learn from knowing a functional language and Scala (combines functional and OOP well) an…

You're taking the question very literally. Implicit in it is should I learn Java over X given I'm constrained by time and opportunity cost.

Yes, we'd love to learn all the things given infinite resources.

Re: Should I Learn Java in 2018

#30

One annoyance with Java(and Kotlin too) is that it's pretty much the only language left that you really ought to use a specialized IDE with while pretty much every other language(including C#) you can get adequate support in VS Code or Emacs.

The annoyance is the lack of productivity when going back to the 80's style of programming.

Using IDEs since mid-90's, and I used to know XEmacs quite well.

Post reply on HN