Blog on the Myths and Truths of Java Programming Language

Mamlesh Kulkarni
7 min readJun 10, 2021

Introduction:

Java is the programming language. It is important to have the information about the course we want to enroll into. We need to understand that the course is worth it or not? What is the market value of candidate after finishing this course? What is demand for the company for these aspirants? Yes, we all will get the information about it on the Google as it widely used search engine but are we sure about the data we will be provided with mostly Yes on the sites which are audited regularly, but No, for sites which are not audited or looked after regularly. This wrong information creates the Myths.

(Fig.1: Myths and Facts)

https://www.google.co.in/imgres?imgurl=https%3A%2F%2Fi1.wp.com%2Fblog.gceasy.io%2Fwp-content%2Fuploads%2F2017%2F12%2Fshutterstock_215548927.jpg%3Ffit%3D1400%252C1281%26ssl%3D1&imgrefurl=https%3A%2F%2Fblog.gceasy.io%2F2017%2F12%2F06%2F3-popular-myths-about-garbage-collection%2F&tbnid=sctwtGojwJRqyM&vet=12ahUKEwiGmtvs__LwAhVuK7cAHWNFAgIQMygIegQIARBc..i&docid=1WiwaKpMg6NN7M&w=1400&h=1281&itg=1&q=Myths%20and%20Truth%20of%20java&hl=en&ved=2ahUKEwiGmtvs__LwAhVuK7cAHWNFAgIQMygIegQIARBc

The Blog tries to clear the different Myths on Java Programming language. Many of the Myths are mentioned in the Blog and will make sure Maximum of common Myths are cleared. And one more point to be added is that even students pursuing the course on the Programming Language Java due to lack of knowledge and practice generates new Myths. So, lets get started with Myths and Truth.

1.

Myth:

Java is not relevant to the Industry Anymore.

Truth:

The statement is not True. Yes, there are new technologies emerging and even languages are getting updated, newer version are getting available with new features. Java is one of the fundamental languages in IT sector. It is popular enough across the world and even used in well-known Industries. Learning it provides better understanding of concepts.

2.

Myth:

Java developers are struggling for Jobs.

Truth:

It is False statement. Java has wide range of application across Industries. There is demand for high skilled Java developers. It is recommended to aspirants to have thorough understanding of subjects to reach a optimum level as a developer.

3.

Myth:

Core Java is not Important

Truth:

False statement. It is been found that most of enrollers in Java language, directly enroll in Advance Java. But the Core Java builds the strong foundation of Java language which helps in career.

4.

Myth:

Java is slow

Truth:

The statement was true earlier but during course of time it has grown and matured leaving delays behind. For time being it is high performing and preferred language for aspirant want to be Java developer.

5.

Myth:

Java requires a Web Browser and only runs in a Web Browser

Truth:

It is wrong statement. Applet is a special type of program that is embedded in webpage to generate the dynamic content. Once JVM (Java Virtual Machine) is installed Java can be run on any browser.

6.

Myth:

Java is relatively very slow as compared to C applications

Truth:

Previously, the java virtual machines were slow and hence, Java was slow as compared to C application. However, the speed difference between Java and C/C++ languages is now not a major concern due to technologically advanced virtual machines and just-in-time compilers that allows faster loading.

7.

Myth:

Java is better than C++ and more in demand.

Truth:

Yes, Java has phenomenal growth and is more in demand than C++, but it cannot overcome certain narrow and specific tasks, such as Artificial Intelligence. Java is excellent in portability and internet support but C++ excels in performance and works on various OS.

8.

Myth:

Java is heavy

Truth:

Yes, Precisely Java is heavy as compared to interpreted languages like Python, Ruby, etc. Before 2014, the getting started process was heavy. But no more after 2019.

(Fig.2: Java as Heavy)

https://www.google.co.in/imgres?imgurl=https%3A%2F%2Fjaxenter.com%2Fwp-content%2Fuploads%2F2017%2F12%2Fshutterstock_714961543-350x234.jpg&imgrefurl=https%3A%2F%2Fjaxenter.com%2Fdata-scientists-need-to-learn-java-139449.html&tbnid=JNZY7I4gmfJq6M&vet=10CEYQMyjpAWoXChMI0Lf4toDz8AIVAAAAAB0AAAAAEAk..i&docid=py3IafwT0_1BqM&w=350&h=234&q=java%20is%20heavy&hl=en&ved=0CEYQMyjpAWoXChMI0Lf4toDz8AIVAAAAAB0AAAAAEAk

9.

Myth:

Java is Long-Winded compared to C

Truth:

False statement. Java isn’t long-winded. Some of its popular frameworks are. This is not fault of the language, but rather frameworks. Frameworks can be overly verbose but its useful for class names to be expressive. Using fully qualified class names is only a problem when you have the same class name in different packages.

10.

Myth:

Packaging and Dependency Management is confusing

Truth:

Yes, it is true, most Java developers would say dependency management is not confusing, the fact people feel it confusing. Especially if the project uses profiles and has multiple dependency blocks, people new to java feel it confusing.

11.

Myth:

The Preference of objects over primitives is annoying

Truth:

Yes, it’s true. Java supports primitives like ‘int’ and ‘boolean’ and object types like ‘interger’ and ‘boolean’. Primitives use less memory and are much faster. Still, it is recommended to use object, as primitives can’t be null and primitives can’t be used with generics. Lighter and faster primitives can be used but beware of caveats.

12.

Myth:

Strong typing and the diamond operator sucks

Truth:

Yes, statement is more advantageous, Java requires strong typing as there is static typing. Most of non-Java developer think Diamond Operator sucks. One of the reasons is you need to type it.

13.

Myth:

Java Sucks Because It Relies on XML (Extensible Markup Language) for Framework Config vs JSON (JavaScript Object Notation)

Truth:

In the days of J2EE, EJB, and early Spring versions, this was true.

False in 2019.

However, the default config files for Java apps are properties files, which are pretty easy. Spring created XML Hell, forcing developers to create pages and pages of XML to configure their Spring beans. After all, Spring’s most popular feature was dependency injection and XML provided a convenient way to do it in 2004.

14.

Myth:

You Need to Carefully Tweak Your IDE to Get the Basics

Truth:

If there is only one JDK installed it’s easy. Otherwise, yes. When most people think of Java development, you have to install a JDK, install your IDE, point your IDE to the correct JDK, etc. People think Java IDEs are heavy. If installing a JDK is a pain, use SDKMAN! It’s true that a PC have more than one JDK installed, there is need to configure your IDE to point to it. Eclipse was the first IDE fast enough to be tolerable.

15.

Myth:

JAVA_HOME and All the Other Environment Variables Are Really Confusing.

Truth:

Yep. Don’t use JAVA_HOME. Defining JAVA_HOME can be required, but not if PC has SDKMAN.

16.

Myth:

Java Is Stupidly Complex Without an IDE

Truth:

Yes. Development, in general, and no matter the programming language, is complex without an IDE. IDEs can save thousands of keystrokes in a day and are tremendously helpful when refactoring. Even when writing JavaScript or TypeScript, It is preferred that an IDE for the auto-imports and code completion.

17.

Myth:

Java Licensing Is Confusing

Truth:

No. Java licensing is not confusing. If you’d like to download and install a JDK. Most Java developers agree that licensing has been a confusing topic recently. Especially since the JDK became OpenJDK and with so many different distributions.

The funny thing about this point is no non-Java developers mentioned it officially.

18.

Myth:

Java is dead.

Truth:

Stated statement is False, from 1995 to 2006, the Java language has evolved at a relatively fast rate, a new major version every 2 years. The introduction of Generics in Java 5 was a real language shift in 2004.

Some believed that Java had died after the acquisition by Oracle.

The absence of the JDK modularization project within Java 8 once again disappoints developers.

Oracle is releasing a new major version of JDK every 6 months. They provide new features that make the language evolve to make it more dynamic for the community and developers too.

(Fig.3: The popularity of languages in market)

https://www.google.co.in/url?sa=i&url=https%3A%2F%2Fwww.statista.com%2Fchart%2F16567%2Fpopular-programming-languages%2F&psig=AOvVaw2-m5Iy4TI4OfdPA9QUe5ig&ust=1622519084848000&source=images&cd=vfe&ved=0CAIQjRxqFwoTCKDblOOA8_ACFQAAAAAdAAAAABAD

19.

Myth:

Java has become a paid service.

Truth:

Java remains free. In 2018, Oracle announced in a somewhat confusing way that the JDK would now be charged for professional uses in production. This confusion has led some to argue that Java has become a paid service! However, this is not the case.

Oracle JDK is a free development and testing environment but comes with charges for production. So, yes for production it is paid but majority community version user are allowed with free software installation with other features.

20.

Myth:

Java can’t leak memory.

Truth:

False, in Java, the memory is managed by a Garbage Collector. Thus, unlike languages such as C or C++, the developer does not have to deal with memory management himself. Many people think that it is not possible to have memory leaks in Java. It is important to be aware that a managed memory language like Java does not mean that the developer should not design programs that take into account memory management issues.

21.

Myth:

Java is the only language you need to learn.

Truth:

False, Java remains the most widely used language in companies. In addition, Android’s fabulous success in the mobile world makes it perfectly usable to build mobile applications. The Java EE (Java Enterprise Edition) framework allows user to create Web applications with the Java language always. But one should not forget that there are many other languages that provides better features than Java and are in use for various fields. But still Python is in more demand than Java.

Conclusion:

So, considering the Java Language, Yes, there are other programming languages which are evolving with the specific purpose of their domain. For example, R and R studio are becoming more popular for the purpose of statistical analysis and even making the link between the statistics and the programming. However, the competition of programming language will continue in the market, but Java is still holding a good place in the market and is still in demand. Hope so the common Myths are cleared, and you find the information useful.

--

--