Search code examples
javafunctional-programmingoopdynamic-languagesstatic-typing

why java number one?


Why is Java the most used programming language ? Why are the most programmers jobs for Java ?

Don't get me wrong here ? I like Java and I work in Java ? I don't have anything against it ?

Also, I'm trying to learn some other stuff out of the OOP box, like Clojure with its functional programming.

But, I'm wondering, why is Java number one ? I mean, dynamic languages (Ruby, Python, Php, JavaScript) people says that static types languages (Java, C/C++, C#) people envy them for their productivity ? They say they get the job done faster...

Ok then, if dynamic languages are more productive, how come Java stands where it stands ?


Solution

    • It was backed by a major commercial company Sun -- which other business value when decided on adopting such things.

    • It continued in the syntactic tradition of C++ -- already a widely used language at the time. In many ways, it was sold as a far improved C++.

    • It came with batteries included -- the framework.

    • Superb marketing effort of write once / run everywhere (platform independence).

    • The fear of Microsoft's dominance at the time forced a lot of companies to collaborate in the Java endeavor, notably IBM.

    I don't think other languages on your list had these qualities (even if I fall into the dynamic/productivity camp). Arguably Python filled some of those niches at the time.