Skip to main content
added 35 characters in body
Source Link
hyperneutrino
  • 42.8k
  • 5
  • 72
  • 228

Java 7, 118 115151 bytes

class P{public static void main(String[]a)throws Exception{java.awt.Desktop.getDesktop().browse(new java.net.URI("http://ppcg.lol"));}} Java is not the best language for golfing...
class P{public static void main(String[]a)throws Exception{java.awt.Desktop.getDesktop().browse(new java.net.URI("http:codegolf.stackexchange.com"));}}
Here's the same program in a more readable format:

Java is not the best language for golfing... Here's the same program in a more readable format:

class P {
    public static void main (String[] a) throws Exception {
        java.awt.Desktop.getDesktop().browse(new java.net.URI("http:ppcgcodegolf.ga"stackexchange.com"));
    }
}

Saved 2 bytes by removing // in the URI/L, and another byte by switching to .ga from .lol (indirectly thanks to @Milo), and another byte by switching to .ga from .lol (indirectly thanks to @Milo)

Java 7, 118 115 bytes

class P{public static void main(String[]a)throws Exception{java.awt.Desktop.getDesktop().browse(new java.net.URI("http://ppcg.lol"));}} Java is not the best language for golfing... Here's the same program in a more readable format:
class P {
    public static void main (String[] a) throws Exception {
        java.awt.Desktop.getDesktop().browse(new java.net.URI("http:ppcg.ga"));
    }
}

Saved 2 bytes by removing // in the URI/L, and another byte by switching to .ga from .lol (indirectly thanks to @Milo)

Java 7, 151 bytes

class P{public static void main(String[]a)throws Exception{java.awt.Desktop.getDesktop().browse(new java.net.URI("http:codegolf.stackexchange.com"));}}

Java is not the best language for golfing... Here's the same program in a more readable format:

class P {
    public static void main (String[] a) throws Exception {
        java.awt.Desktop.getDesktop().browse(new java.net.URI("http:codegolf.stackexchange.com"));
    }
}

Saved 2 bytes by removing // in the URI/L, and another byte by switching to .ga from .lol (indirectly thanks to @Milo)

-3 bytes
Source Link
user42649
  • 42.8k
  • 5
  • 72
  • 228

Java 7, 118118 115 bytes

class P{public static void main(String[]a)throws Exception{java.awt.Desktop.getDesktop().browse(new java.net.URI("http://ppcg.lol"));}} Java is not the best language for golfing... Here's the same program in a more readable format:
class P {
    public static void main (String[] a) throws Exception {
        java.awt.Desktop.getDesktop().browse(new java.net.URI("http://ppcg.lol"ga"));
    }
}

Saved 2 bytes by removing // in the URI/L, and another byte by switching to .ga from .lol (indirectly thanks to @Milo)

Java 7, 118 bytes

class P{public static void main(String[]a)throws Exception{java.awt.Desktop.getDesktop().browse(new java.net.URI("http://ppcg.lol"));}} Java is not the best language for golfing... Here's the same program in a more readable format:
class P {
    public static void main (String[] a) throws Exception {
        java.awt.Desktop.getDesktop().browse(new java.net.URI("http://ppcg.lol"));
    }
}

Java 7, 118 115 bytes

class P{public static void main(String[]a)throws Exception{java.awt.Desktop.getDesktop().browse(new java.net.URI("http://ppcg.lol"));}} Java is not the best language for golfing... Here's the same program in a more readable format:
class P {
    public static void main (String[] a) throws Exception {
        java.awt.Desktop.getDesktop().browse(new java.net.URI("http:ppcg.ga"));
    }
}

Saved 2 bytes by removing // in the URI/L, and another byte by switching to .ga from .lol (indirectly thanks to @Milo)

`java.net`, not `java.new`!
Source Link
user42649
  • 42.8k
  • 5
  • 72
  • 228

Java 7, 118 bytes

class P{public static void main(String[]a)throws Exception{java.awt.Desktop.getDesktop().browse(new java.net.URI("http://ppcg.lol"));}} Java is not the best language for golfing... Here's the same program in a more readable format:
class P {
    public static void main (String[] a) throws Exception {
        java.awt.Desktop.getDesktop().browse(new java.newnet.URI("http://ppcg.lol"));
    }
}

Java 7, 118 bytes

class P{public static void main(String[]a)throws Exception{java.awt.Desktop.getDesktop().browse(new java.net.URI("http://ppcg.lol"));}} Java is not the best language for golfing... Here's the same program in a more readable format:
class P {
    public static void main (String[] a) throws Exception {
        java.awt.Desktop.getDesktop().browse(new java.new.URI("http://ppcg.lol"));
    }
}

Java 7, 118 bytes

class P{public static void main(String[]a)throws Exception{java.awt.Desktop.getDesktop().browse(new java.net.URI("http://ppcg.lol"));}} Java is not the best language for golfing... Here's the same program in a more readable format:
class P {
    public static void main (String[] a) throws Exception {
        java.awt.Desktop.getDesktop().browse(new java.net.URI("http://ppcg.lol"));
    }
}
Missing close bracket
Source Link
user42649
  • 42.8k
  • 5
  • 72
  • 228
Loading
added 2 characters in body
Source Link
user42649
  • 42.8k
  • 5
  • 72
  • 228
Loading
Source Link
user42649
  • 42.8k
  • 5
  • 72
  • 228
Loading