• @kryptonianCodeMonkey
    link
    33
    edit-2
    10 months ago

    All line breaks. Just one tower of code.

    class
    HelloWorld
    {
    public
    static
    void
    main(String[]
    args)
    {
    System.out.println("Hello,
    World!");
    }
    }
    
    • cassie 🐺
      link
      fedilink
      English
      15
      edit-2
      10 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

    • Madlaine
      link
      fedilink
      7
      edit-2
      10 months ago

      why not

      System
      .out
      .println(
      "Hello,

      ?

    • qazM
      link
      310 months ago

      I’ve seen some people who code like this