• dch82
    link
    fedilink
    8
    edit-2
    7 hours ago

    C:

    #include <stdio.h>
    
    int main() {
        printf("Hello World!");
        return(0);
    }
    

    EDIT: POSIX-compatible shell:

    echo "Hello World!"
    
    • @[email protected]
      link
      fedilink
      2
      edit-2
      7 hours ago

      Python2 is only one character longer:

      print “Hello world!”

      And you get proper data types too.

      • dch82
        link
        fedilink
        27 hours ago

        Shell is only meant for duct tape scripts, you know to tie two regular compiled programs together