Us PHP devs be minding our own business but people be looking for trouble š¤£š¤£
Its still used in universities, banks and well... everywhere. Maybe not in the Twitterverse.
I love that whenever anyone hates in java they specifically pick out the hello world and declare it horrifically verbose.
There are two kinds of programming languages: There is one that nobody uses and the other one everyone complains about!
It is nothing more fun than maintaining a huge software project written by juniors in a language like js or python.
there are a dozen languages based on Java and javascript is not one of them...
javascript is absolutely NOT based on java
You try writing an entire backend in python and i'll try writing one in java and i think we both know whose will have fewer bugs. Java is more verbose, but with modern IDEs and tooling, it's actually pretty pleasant to work in
Honestly, with a modern IDE, defining the main class is as simple as writing psvm and pressing tab. Printing is as simple as writing sout and pressing tab. The bigger annoyance I think is the occupation of screen space. There are some non-intuitive things in Java, but compared to a language such as Python which has much weirder features such as multiple inheritance, next-in-line hierarchy, implicit data types, and lack of many design patterns such as function overloading, interfaces, abstract classes and proper access modifiers, it is still irreplaceable.
Java dev here, I have worked with JS +Swift before, both modern languages, and Java won't feel awkward as long as you have a good IDE (IntelliJ). All the boilerplate stuff doesn't need to be typed, but inserted through shortcuts. So if u know your way around the IDE, it's all the advantages without the biggest disadvantages.
Bruh i hate when TikTok/youtubers make this same point as if itās somehow a reason that the language is bad. āOh boohoo to print hello world you have to type a few lines of codeā. Java is a powerful language, and very robust. It was the first programming language I learned back when I was 15 and at the time it was THE most commonly used programming language, and 12 years later a lot of people still use it to this day. Java is a great programming language, and so is C++, and the more simplified C#. People just choosing to hop on the hate train for some of the older languages as if they arenāt still used to make incredibly complex real world applications. Hereās a tip people, find a programming language you like, get really good at it, and then explore new things. Donāt just listen to random people on the internet telling you a language is bad.
drives you nuts when you are first learning it but as you become more mature you come to appreciate it and it does actually save a lot of time when you make use of objects and testing properly.
javascript was not based off of java, it was originally called mocha but changed to javascript because of marketing.
Verbosity is only a problem for beginners, in large softwares, it improves readability.
Java just makes me feel comfortable and at home in a way that other languages don't. It was far from being the first one that I learned, but everything in it just makes sense to me. I always try to use the right tool for the job, but when there's no clear cut best, I often reach for Java because I just like it.
Java: hated by every non cs engineers.
Truth is if you pick on java and praise python you are not a programmer or software engineer. You just use other peoples libraries to make yourself look cool in front of your friends š¤£
"Strongly typed" - Honestly, a huge benefit for me. I know what each of my objects is going to be "Compiled" - Compile times will be around 3 seconds for the average developer, so who cares? It also heavily increases performance "Object Oriented" - Outside of C and possibly JavaScript (its a mess), I cannot name a single language commonly used which isn't object oriented.
This video felt like it was designed for python devs who can't figure out statically typed languages LOL Java is not a dead language, neither is C. Both are very robust, fast, and help minimize the bugs that come with dynamically typed languages like python. I like to use python for GUIs and scripting only, I always use java or C as the underlying codebase. It's just so much faster and can run on a potato.
@aidajam5