Why I don’t use Java

Java is definitely a great language and all but there are a few kinks here and there that I cannot stand…

Introduction

Java is one of the newer programming languages out there and it is definitely worth learning!!! It, in fact, is one of the most used languages and Java developers are also paid very highly!!! But, there are a few side effects of using this monstrosity of a language!

Why I don’t use it

To begin, Java is a very heavy language and requires numerous dependencies… While on the contrary, Java is actually known to be “WORA”, or Write Once Run Anywhere!!! This means that you can write a program in Java once, and run it on any machine… The catch is that they have to have at least a Java Virtual Machine(JVM) installed… I actually find this technique annoying as it requires a vast amount of extra software to be installed just to compile the Bytecode again…

Another reason why I dislike Java is that it is known to be a memory hog… This is probably due to the fact that it requires a Virtual Machine to compile the code!!! And, or that its garbage collection system is literally garbage!

The final reason why I don’t use Java is that of its redundancy and syntax… What I mean by this is that a “Hello, World” program in Java requires a whole lot more effort than in traditional¬†object-oriented languages… For example:

In Java:
public class HelloWorld {

    public static void main(String[] args) {
        System.out.println("Hello, World");
    }

}
In C:
#include <stdio.h>

int main(int argc, char *argv[]){
    printf("Hello, World");
}

In my opinion, C looks much more elegant and clean than that of Java’s ‘System.out.println()’ function!

My alternatives

I know the below list is short… This probably because these are my languages of choice because they are extremely reliable, fast and efficient, and most systems support them. So Here a few alternatives that I enjoy using and that are closely similar¬†to Java:

  • C
  • C++

Summary

In summary, Java is a great language and all, and it is definitely worth learning for some people! But for me, it’s not the right choice due to its memory consumption, redundancy, and syntax!

If you feel you object or agree with this post, feel free to leave your thoughts in the comments below!

Leave a Reply

Your email address will not be published. Required fields are marked *

*

*

*