• LazaroFilm
    link
    English
    341 year ago

    No line breaks. Just one long line of code.

    • @kryptonianCodeMonkey
      link
      33
      edit-2
      1 year 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
        1 year 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
        1 year ago

        why not

        System
        .out
        .println(
        "Hello,

        ?

      • qaz
        link
        31 year ago

        I’ve seen some people who code like this