Every time I see Java code, I ask myself: how did a language this ugly and clunky become this popular?

Never seen a good programmer complain about it, only freshman tier dunning kruger retards

>>93227806 (OP)

Java was the nodeJs of boomers if you think about it, "write once, run everywhere", they were the pioneers of cross platform programming, now that there are executables of nodeJS, go, rust, c++, python, ruby and php for pretty much any programming language java has been slowing fading away, in the modern era Java is going to be the new COBOL

Kotlin is better but java is fine. What's your problem? Intellij writes all the boiler plate anyway.

>>93227806 (OP)

it was easier to teach/learn than C++ and more practical to teach/learn than C, ML, lisp etc

it consistently ranks as one of the most hated languages in the world

Sirs

>more practical to teach than lisp 

No fucking way only poeple who have. problem teaching lisp are cniles stuck in c retardation. Lisp is one of the easiest most consistent and logical languages to learn. I could learn 5 different lisps before someone learns java.

>>93227806 (OP)

this is what hype does to people. rust is next

So learn java if you want to be rich and unfireable in 20 years

>>93227806 (OP)

>Every time I see Java code, I ask myself: how did a language this ugly and clunky become this popular?



I feel like you could have slapped 



1) NetBeans or Intellij; 

2) JVM; 



on any language back in the early days of programming, that language would have immediately became popular. You may not feel it today because of VSC or Docker, but actually great GUI coding experience and cross-platform compatibility were a rarity back then.

Most popular language is also the most hated. Not surprising.

>slowing fading away

heh 

see you in 200 years

>>93227806 (OP)

The key is what it replaced: old-fashioned object-oriented C++.

In this C++ code people used lots of classes, lots of inheritance, and manual memory management with new and delete. It was bad! Memory corruption galore, not portable unless you really made an effort.

So Gosling and friends made a language that looked like C++, specifically like this style of C++, but they fixed the big problems: they added garbage collection to make it ten times safer, they put it on a VM to make everything portable by default (without completely nuking performance), they supported a very bearable form of dynamic linking.

Because you had your int and long, your switch fallthrough, your prefix type declarations, this wasn't scary to C++ programmers. It looked familiar but removed a lot of boring problems. That (and aggressive marketing) let it take off.

It's bad now, but it's better than what came before and won by compromising. An evolutionary step.

Maybe if you think syntax is the bottleneck when learning a language.

>>93227806 (OP)

Compatibility. Java could run on damn near everything, even though it ran like shit it would run.

>in the modern era Java is going to be the new COBOL



as a good sir I very much hope so

Java syntax isn't hard either it's all the boilerplate required to wire up different components of a program.

>>93227806 (OP)

This but for C#. They even have stupid conventions where they start names with I if its an interface

keep in mind that the average /g/ retard doesn't understand that worse is better.

considering the context in which you used the phrase, you probably don't understand what it means either

How is that stupid?
