RE: Why people think Java is bad and old language? 01-30-2017, 04:54 AM
#41
Java
Well, I have mixed feelings about Java. I used the language for five years in a professional setting and there wasn't much we couldn't do with the language. From basic HTTP serving to dynamic code generation, and it ran on ALL platforms. When JavaFX came out it was just that much better, amazing GUIs on Windows, Linux, and OS X.
However... about 8ish months ago I starting looking for a new language to replace Java in my day-to-day activities because I had the following issues with Java:
I'm now using Go in almost all of my projects, using Java only in projects that are too large to rewrite from scratch. I don't regret leaving Java behind, my life is easier, my code is cleaner, my programs are faster, but Java still holds a little piece of my heart.
While we are talking about languages and such, I'll rant about some of my other experiences aswell.
C++
I used C++ for about three years, alongside Java and eventually dropped it and continued using Java for two years. The reasons?:
When I tell people that I stopped using C++ because it was complicated they just say things like, "it's not once you get used to it", or "you're just a skid", but I have a philosophy: life doesn't have to be complicated. C++ is anything, but simple, from Header files to multiple inheritance the language is a mess.
When I stopped using C++, I did start using C more in my daily routine as you sometimes still need that low-level code with a mix of ASM every once in a while.
JavaScript
JavaScript is actually the first language I took up learning and unfortunately I still use it in my daily routine. These are the issues I have:
The "not multi-threaded" thing I have to explain to a lot of people because they think calling `setTimeout` or `setInterval` will spawn a new thread, they do not.
Well, I have mixed feelings about Java. I used the language for five years in a professional setting and there wasn't much we couldn't do with the language. From basic HTTP serving to dynamic code generation, and it ran on ALL platforms. When JavaFX came out it was just that much better, amazing GUIs on Windows, Linux, and OS X.
However... about 8ish months ago I starting looking for a new language to replace Java in my day-to-day activities because I had the following issues with Java:
- Inconsistent naming of types in the standard library
- VM is slow to startup
- Syntax is too verbose
- Exceptions
I'm now using Go in almost all of my projects, using Java only in projects that are too large to rewrite from scratch. I don't regret leaving Java behind, my life is easier, my code is cleaner, my programs are faster, but Java still holds a little piece of my heart.
While we are talking about languages and such, I'll rant about some of my other experiences aswell.
C++
I used C++ for about three years, alongside Java and eventually dropped it and continued using Java for two years. The reasons?:
- C++ is complicated, unnecessarily so
- Headers
When I tell people that I stopped using C++ because it was complicated they just say things like, "it's not once you get used to it", or "you're just a skid", but I have a philosophy: life doesn't have to be complicated. C++ is anything, but simple, from Header files to multiple inheritance the language is a mess.
When I stopped using C++, I did start using C more in my daily routine as you sometimes still need that low-level code with a mix of ASM every once in a while.
JavaScript
JavaScript is actually the first language I took up learning and unfortunately I still use it in my daily routine. These are the issues I have:
- It's not multi-threaded
- Callback hell
- Dynamic typing (not always bad, I'm just OCD)
- Not always standard across runtimes
The "not multi-threaded" thing I have to explain to a lot of people because they think calling `setTimeout` or `setInterval` will spawn a new thread, they do not.
(This post was last modified: 01-30-2017, 05:14 AM by Hoss.)
this forum is dead