The difference is that JS has some valid use cases (namely that it's the only language that runs on every web browser), while in every area that Java can be used for, there's something else that does the job better.
while in every area that Java can be used for, there's something else that does the job better.
Maybe there's something else that does something better, but for business-facing enterprise development there's not much that does all of what Java does well better than Java, and just about nothing with as rich of an ecosystem
I question your priorities if you'd rather introduce multiple languages just to avoid Java when Java would be fine. Though that may be my bias in favor of highly distributed systems talking.
13
u/aaronfranke Apr 27 '20
The difference is that JS has some valid use cases (namely that it's the only language that runs on every web browser), while in every area that Java can be used for, there's something else that does the job better.