• kryptonianCodeMonkey@lemmy.world
    link
    fedilink
    arrow-up
    32
    ·
    edit-2
    5 months ago

    All line breaks. Just one tower of code.

    class
    HelloWorld
    {
    public
    static
    void
    main(String[]
    args)
    {
    System.out.println("Hello,
    World!");
    }
    }
    
    • eupraxia@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      15
      ·
      edit-2
      5 months ago

      as always, c++ lets us do better in breathtakingly elegant fashion:

      #\
      i\
      n\
      c\
      l\
      u\
      d\
      e\
       \ 
      <\
      i\
      o\
      s\
      t\
      r\
      e\
      a\
      m\
      >
      

      finishing out hello world is left as an exercise to the reader, but the advantages and superior performance of this format should be obvious