Skip to main content
deleted 116 characters in body
Source Link
GamrCorps
  • 7.7k
  • 2
  • 30
  • 61

Glava 1.4, 16 bytes

##Java-Golf Glava 1.2, 18 bytes EditEdit: from Doorknob's and ConorO'Brien's suggestions, the name has changed to Glava.

m|pp("Hello, World! 

Java-Golf Glava is a golfing Java dialect (obviously). It adds shorthands to many keywords and common phrases in Java code. So, the code above actually corresponds to the Java code:

public static void main (String[] A) {System.out.print("Hello World!");} 

You may be wondering, where does the ");} come from? Well, Glava has a feature where it automatically adds closing brackets and double quotes. Also, when a closing curly bracket is needed, it places a semicolon before it, which is what allows me to omit the semicolon.

Another neat feature is that if you do not specify a main class or method, it will do it for you. So the compiled code in the end looks like:

public class Main {public static void main (String[] A) { System.out.print("Hello World!");}} 

##Java-Golf Glava 1.2, 18 bytes Edit: from Doorknob's and ConorO'Brien's suggestions, the name has changed to Glava.

m|p("Hello, World! 

Java-Golf Glava is a golfing Java dialect (obviously). It adds shorthands to many keywords and common phrases in Java code. So, the code above actually corresponds to the Java code:

public static void main (String[] A) {System.out.print("Hello World!");} 

You may be wondering, where does the ");} come from? Well, Glava has a feature where it automatically adds closing brackets and double quotes. Also, when a closing curly bracket is needed, it places a semicolon before it, which is what allows me to omit the semicolon.

Another neat feature is that if you do not specify a main class, it will do it for you. So the compiled code in the end looks like:

public class Main {public static void main (String[] A) { System.out.print("Hello World!");}} 

Glava 1.4, 16 bytes

Edit: from Doorknob's and ConorO'Brien's suggestions, the name has changed to Glava.

p("Hello, World! 

Glava is a golfing Java dialect (obviously). It adds shorthands to many keywords and common phrases in Java code. So, the code above actually corresponds to the Java code:

System.out.print("Hello World!") 

You may be wondering, where does the ") come from? Well, Glava has a feature where it automatically adds closing brackets and double quotes. Also, when a closing curly bracket is needed, it places a semicolon before it.

Another neat feature is that if you do not specify a main class or method, it will do it for you. So the compiled code in the end looks like:

public class Main {public static void main (String[] A) { System.out.print("Hello World!");}} 
shortened code
Source Link
GamrCorps
  • 7.7k
  • 2
  • 30
  • 61

##Java-Golf Glava 1.12, 2118 bytes Edit: from Doorknob's and ConorO'Brien's suggestions, the name has changed to Glava.

m|p("Hello, World!"); 

Java-Golf Glava is a golfing Java dialect (obviously). It adds shorthands to many keywords and common phrases in Java code. So, the code above actually corresponds to the Java code:

public static void main (String[] A) {System.out.print("Hello World!");} 

You may be wondering, where does the ");} come from? Well, Glava has a feature where it automatically adds closing brackets and double quotes. Also, when a closing curly bracket is needed, it places a semicolon before it, which is what allows me to omit the semicolon.

Another neat feature is that if you do not specify a main class, it will do it for you. So the compiled code in the end looks like:

public class Main {public static void main (String[] A) { System.out.print("Hello World!");}} 

##Java-Golf Glava 1.1, 21 bytes Edit: from Doorknob's and ConorO'Brien's suggestions, the name has changed to Glava.

m|p("Hello, World!"); 

Java-Golf Glava is a golfing Java dialect (obviously). It adds shorthands to many keywords and common phrases in Java code. So, the code above actually corresponds to the Java code:

public static void main (String[] A) {System.out.print("Hello World!");} 

Another neat feature is that if you do not specify a main class, it will do it for you. So the compiled code in the end looks like:

public class Main {public static void main (String[] A) { System.out.print("Hello World!");}} 

##Java-Golf Glava 1.2, 18 bytes Edit: from Doorknob's and ConorO'Brien's suggestions, the name has changed to Glava.

m|p("Hello, World! 

Java-Golf Glava is a golfing Java dialect (obviously). It adds shorthands to many keywords and common phrases in Java code. So, the code above actually corresponds to the Java code:

public static void main (String[] A) {System.out.print("Hello World!");} 

You may be wondering, where does the ");} come from? Well, Glava has a feature where it automatically adds closing brackets and double quotes. Also, when a closing curly bracket is needed, it places a semicolon before it, which is what allows me to omit the semicolon.

Another neat feature is that if you do not specify a main class, it will do it for you. So the compiled code in the end looks like:

public class Main {public static void main (String[] A) { System.out.print("Hello World!");}} 
changed glava version
Source Link
GamrCorps
  • 7.7k
  • 2
  • 30
  • 61

##Java-Golf Glava 1.0.1, 2221 bytes Edit: from Doorknob's and ConorO'Brien's suggestions, the name has changed to Glava.

m|p("Hello, World!");} 

Java-Golf Glava is a golfing Java dialect (obviously). It adds shorthands to many keywords and common phrases in Java code. So, the code above actually corresponds to the Java code:

public static void main (String[] A) {System.out.print("Hello World!");} 

Another neat feature is that if you do not specify a main class, it will do it for you. So the compiled code in the end looks like:

public class Main {public static void main (String[] A) { System.out.print("Hello World!");}} 

##Java-Golf Glava 1.0.1, 22 bytes Edit: from Doorknob's and ConorO'Brien's suggestions, the name has changed to Glava.

m|p("Hello, World!");} 

Java-Golf Glava is a golfing Java dialect (obviously). It adds shorthands to many keywords and common phrases in Java code. So, the code above actually corresponds to the Java code:

public static void main (String[] A) {System.out.print("Hello World!");} 

Another neat feature is that if you do not specify a main class, it will do it for you. So the compiled code in the end looks like:

public class Main {public static void main (String[] A) { System.out.print("Hello World!");}} 

##Java-Golf Glava 1.1, 21 bytes Edit: from Doorknob's and ConorO'Brien's suggestions, the name has changed to Glava.

m|p("Hello, World!"); 

Java-Golf Glava is a golfing Java dialect (obviously). It adds shorthands to many keywords and common phrases in Java code. So, the code above actually corresponds to the Java code:

public static void main (String[] A) {System.out.print("Hello World!");} 

Another neat feature is that if you do not specify a main class, it will do it for you. So the compiled code in the end looks like:

public class Main {public static void main (String[] A) { System.out.print("Hello World!");}} 
added 101 characters in body
Source Link
GamrCorps
  • 7.7k
  • 2
  • 30
  • 61
Loading
Source Link
GamrCorps
  • 7.7k
  • 2
  • 30
  • 61
Loading