Java at 30: How a language designed for a failed gadget became a global powerhouse
-
The argument I agree with is that Python is the best language to learn if it's your only language, and Java is the best first language if you're going to learn others. The syntax from Java is shared across so many other languages and it forces you to learn about things like objects and types. You could make an argument for C or C++ but Java's handholding is more beginner friendly imo
Python isn't really strict enough to be a good learning language and Java has too much accidental complexity that literally matters in no other language.
-
There's always Kotlin. Of course I never understood the desirability of a VM language in the first place, why not just compile for different architecture?
"Write once, run anywhere" is a pipe dream but Java came closer than anyone else by far.
-
Java is nothing like Rust. Java was always sold as a low skill programmer language, Rust has a steep learning curve. Java tooling has always sucked where Rust has excellent tooling pretty much since 1.0, Java is extremely verbose and needs a lot of tools to generate code to be productive at all, Rust is very expressive and most people write the code by hand or just use built-in language features. Java has a culture of "who care about that backtrace in my log as long as the app does what it is supposed to" while Rust has a culture that very much cares about correctness more than performance. Java was always driven by CEOs pushing it on people from the top while Rust is very much a language programmers try to push into their companies from the bottom.
Also, none of the languages you listed have a very particular niche that differs from what they were used early on apart from Java which is now mostly used on the server and used to also be used in GUI applications more.
You hate Java, you love Rust, noted.
Also:
SAP,
Graphics,
Data science,
Web.
Good day.
-
Java was also my first introduction to programming as it was included in Computer Science in final year of school (at college, we did the trusty C).
I think they have replaced Java with Python now in schools because of the latter's popularity and also because many would argue, Python is slightly easier to learn than Java.
I learned C++ as my first language and it was a great way to understand the core issues of a programming language — like memory allocation, memory freeing, the difference between memory addresses and the memory contents themselves, threads, system calls, etc. Java obscures these nuances to a degree, but Python is too friendly and makes it hard to understand them at all.
I believe if you learn C++ you can easily learn any other language. After C++, I learned Python, JavaScript, and Java in a few days each without formal instruction. If you learn Python first, you’re probably going to struggle learning those other languages because you haven’t grasped the lower level concepts yet and may never if you’re not in a formal setting that forced you to learn them.
No one disagrees that Python is easier, but if your goal is to get a foundation in programming that allows you to easily pick up other languages, you should start with C++.
-
The difference is people still write Java, regardless of whether it's a dated pos or not, so the use cases have evolved
Then there's the use of the JVM/JRE which have evolved even more due to Scala, Clojure & Kotlin
COBOL is still being updated because, believe it or not, people are still writing COBOL
-
This post did not contain any content.
I attribute Java's uptake to a large amount of marketing and support, which led to a massive ecosystem. Even a mediocre language like this one can find success when propped up like that.
-
You hate Java, you love Rust, noted.
Also:
SAP,
Graphics,
Data science,
Web.
Good day.
Yes, I have Java and love Rust but the point is that if you say they all go through the same cycle there need to be some commonalities between the languages and the way they rise to popularity and there just aren't. If any modern language resembles Java's rise to popularity it would be Go.
-
The argument I agree with is that Python is the best language to learn if it's your only language, and Java is the best first language if you're going to learn others. The syntax from Java is shared across so many other languages and it forces you to learn about things like objects and types. You could make an argument for C or C++ but Java's handholding is more beginner friendly imo
First learn C, then learn C++, then learn Java. In that order, each will make you appreciate what the previous one lacks. From there, you should pretty much be able to learn anything.
-
It's a cycle all popular languages go through. First only experimental applications and super opinionated programmers use it. Then everyone wants to use it for everything. Then it finds a niche where it excels and settles.
I remember Java, C++, Python, and JavaScript going through those phases as well. Currently, everything is Rust.
JavaScript kind of had a weird path though, with like a rebirth on server side, and then all these trendy libraries and frameworks and other bullshit.
-
I attribute Java's uptake to a large amount of marketing and support, which led to a massive ecosystem. Even a mediocre language like this one can find success when propped up like that.
Java was the new hotness when I was in the middle of my comp sci degree. The biggest benefit I found was javadocs. Other languages had shit documentation that usually didn’t match reality in comparison.
-
COBOL is still being updated because, believe it or not, people are still writing COBOL
People aren’t writing new projects in COBOL. It’s mostly to maintain 40+ year old systems. Unless you’re working in the bank sector, it’s unlikely you will write a program in COBOL.
-
I attribute Java's uptake to a large amount of marketing and support, which led to a massive ecosystem. Even a mediocre language like this one can find success when propped up like that.
OOP was hype during the 90s. Schools adapted their curriculum to this trend. So they needed a programming language for this, and Java became the choice. C++ is too tricky as a first language.
The result is that a lot of people knew Java, which means it’s a good choice of language if you want to recruit programmers.
I believe most of Java’s success was luck. It released at the perfect time.
-
People aren’t writing new projects in COBOL. It’s mostly to maintain 40+ year old systems. Unless you’re working in the bank sector, it’s unlikely you will write a program in COBOL.
Don't forget this small sector called government. Loads of Cobol there.
-
OOP was hype during the 90s. Schools adapted their curriculum to this trend. So they needed a programming language for this, and Java became the choice. C++ is too tricky as a first language.
The result is that a lot of people knew Java, which means it’s a good choice of language if you want to recruit programmers.
I believe most of Java’s success was luck. It released at the perfect time.
OOP makes so much sense. What happened?
-
This post did not contain any content.
I used Java years ago for Android dev, but stopped when I stopped doing that. Every once in a while I'll get the itch to work on a new project, and always wonder if Java would be a good idea.
My hesitance is that I don't trust Oracle (and don't know to what extent they're involved nowadays), I'm not familiar enough with the ecosystem to know what is legacy crap to avoid, and I think it's generally seen as an uncool language, and I'm way too cool to be taking such risks.
-
I used Java years ago for Android dev, but stopped when I stopped doing that. Every once in a while I'll get the itch to work on a new project, and always wonder if Java would be a good idea.
My hesitance is that I don't trust Oracle (and don't know to what extent they're involved nowadays), I'm not familiar enough with the ecosystem to know what is legacy crap to avoid, and I think it's generally seen as an uncool language, and I'm way too cool to be taking such risks.
If you want to do something java like, try Kotlin. Its a more modern take on java and not developed by Oracle
-
OOP makes so much sense. What happened?
The AbstractionBubbleFactory popped
-
Fuck Oracle.
One Rich Asshole Called Lary Ellison
-
This post did not contain any content.
Java is IMHO one of the most underrated platforms outside of enterprise environments.
Most people also forget, that Java is not only a language, but also a platform, an ecosystem and active research is applied to many parts of Java.
Concerning Oracle: OpenJDK is actively supported by very different but big and capable companies (IBM, Amazon, Eclipse Foundation...). The quality of the language, libraries and documentation needs people which are payed to work on this, full time.
Bring to this the free IDEs one can get for Java - Eclipse and Netbeans are a little bit old school, but offer everything to build/debug and develop complex software.
Java is not my favorite programming language, but when I want to write interesting software and ensure it will be running for the next decade w/o significant changes, Java is really hard to beat.
Of course, in hindsight we know how to do a lot of things better as they were done in Java. Still, what other open source Language/Platform/documentation with the backing of capable companies and really independent and interoperable builds are out there?
One last note to all people which were damaged by Java in university or school: Usually the teachers/professors/lecturers have no real world experience of software development besides the usually university projects, and for the usual university projects which basically means getting small to midsize projects to run Java is total overkill.
Don't confuse this with real world software projects in the industry, which are mission critical and need to work a decade from now on. Java was always a bread and butter language, but one which learned from other languages and even the verbosity makes sense, once one dives into code written a few years back by another person.
-
This post did not contain any content.
I liked Java a lot more before Oracle acquired Sun. I've used Oracle databases enough to hate Oracle with the passion of a supernova.