2.2 Julia is simple

What I mean by Julia’s simplicity is its nice, friendly and terse syntax.

For instance to write a simple Hello world program all I have to do is to type:

println("Hello World!")

then save and run the file.

For comparison a similar program in Java (a popular programming language) looks something like:

// file: HelloWorld.java
class HelloWorld {
    public static void main(String args[]) {
        System.out.println("Hello World");
    }
}

For me too much boilerplate code. The code that I don’t want to type, read or process in my head. Additionally, in general a Java’s code will probably not run faster than its Julia’s counterpart. Moreover, the difference in lengths may be even greater for more complicated programs.



CC BY-NC-SA 4.0 Bartlomiej Lukaszuk