package bar;

public class Foo {
public static void main(){
System.out.println("Hello, World!");

I still wonder why I didn't start with Python, print('Hello, World') is a god damn one-liner

  • 5
    Both are equally shit.
  • 4
    Why didn't you start with alphabeta?

    ` Output: "Hello World!"

    Yes i had to learn alphabeta for a CTF, i also question why this exists... but it does. And yes i understand alphabeta.
  • 3
    @s0LA When humans get bored, they're willing to do anything just because they can.
  • 0
    I dont see any problem at all with the java code, maybe instead of system something like Console.writeLine would look better though.

    I never understoof why theres so much hate against the main method, especially from JS guys.
    When I look at react boilerplate on the other hand ....
  • 0
    @mojo2012 then can you explain to me why I need a class for that? OOP may be a good thing but for writing Hello, World to stdout - why should such task require a class? That's pretty much the only thing i dislike about java
  • 0
    learn prolog.

    write("Hello world").
  • 0
    @ruhe Because the program is an object.
  • 1
    @Jilano But a 5 Register language?

    CMON BRO, this was literally made to torture humans.

    5 Registers... of which u can use 4....
    + you have a total amount of 1kb for memory.... AMAZING!1!!
  • 1
    @s0LA Well, that's not surprising. According to history, humans excel at torturing other humans!
  • 0
    If you get upset about this then i assume you dont know much java.
  • 0
    @ruhe because java puts consistency first, its an OO kanguage over all.

    And how many one-line programs do u intens to write??
Your Job Suck?
Get a Better Job
Add Comment