Which "Hello World" Programmer are you?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Fat Tone
    Super MURCer
    • Aug 1999
    • 7579

    #1

    Which "Hello World" Programmer are you?

    Schoolboy
    10 PRINT "HELLO WORLD"
    20 END

    Graduate
    program Hello(input, output)
    begin
    writeln('Hello World')
    end.

    IT Contractor
    #include <stdio.h>
    void main(void)
    {
    char *message[] = {"Hello ", "World"};
    int i;
    for(i = 0; i < 2; ++i)
    printf("%s", message[i]);
    printf("\n");
    }

    System Administrator
    #include <stdio.h>
    #include <stdlib.h>
    main()
    {
    char *tmp;
    int i=0;
    tmp=(char *)malloc(1024*sizeof(char));
    while (tmp[i]="Hello Wolrd"[i++]);
    i=(int)tmp[8];
    tmp[8]=tmp[9];
    tmp[9]=(char)i;
    printf("%s\n",tmp);
    }

    Guru Administrator
    % cat <<EOF
    hello world
    EOF

    Junior Manager
    10 PRINT "HELLO WORLD"
    20 END

    Middle Manager
    % mail -s "Hello, world." bob@b12
    Bob, could you please write me a program that prints "Hello, world."?
    I need it by tomorrow.
    ^D

    Senior Manager
    % zmail jim
    I need a "Hello, world." program by this afternoon.

    Chief Executive
    % letter
    letter: Command not found.
    % mail
    To: ^X ^F ^C
    % help mail
    help: Command not found.
    % damn!
    !: Event unrecognized
    % logout
    FT.
  • Jessterw
    Style Master, Rtd.
    • Jul 2002
    • 4265

    #2
    The one that gets the job done and then enjoys a beer...

    class HelloWorld {
    public static void main(String args[]) {
    System.out.println("Hello World!");
    }
    }

    “And, remember: there's no 'I' in 'irony'” ~ Merlin Mann

    Comment

    • az
      Moderator
      • Feb 2001
      • 9336

      #3
      @echo Hello World!

      There's an Opera in my macbook.

      Comment

      • schmosef
        Super MURCer
        • Dec 2002
        • 5813

        #4
        Originally posted by az View Post
        @echo Hello World!


        P.S. You've been Spanked!

        Comment

        • Jessterw
          Style Master, Rtd.
          • Jul 2002
          • 4265

          #5
          Ah but that's not all that's required...

          No cookie for you az
          “And, remember: there's no 'I' in 'irony'” ~ Merlin Mann

          Comment

          • Jon P. Inghram
            Super MURCer
            • Oct 1999
            • 3878

            #6
            «
            "Hello World!" 1 DISP
            1 FREEZE
            »

            Or for the ultraconservative, just:

            "Hello World!"

            Comment

            • Jessterw
              Style Master, Rtd.
              • Jul 2002
              • 4265

              #7
              Transcript show: 'Hello World!'.

              Pat on the back for anyone who knows what that one is
              “And, remember: there's no 'I' in 'irony'” ~ Merlin Mann

              Comment

              • Umfriend
                Crabby Smurf
                • Mar 2001
                • 7308

                #8
                I think I do know what that is

                Smalltalk?
                Join MURCs Distributed Computing effort for Rosetta@Home and help fight Alzheimers, Cancer, Mad Cow disease and rising oil prices.
                [...]the pervading principle and abiding test of good breeding is the requirement of a substantial and patent waste of time. - Veblen

                Comment

                • FatBastard
                  MURCer
                  • May 2007
                  • 305

                  #9
                  > perl -e "print reverse ("dlrow olleH");".
                  Originally posted by Gurm
                  .. some very fair skinned women just have a nasty brown crack no matter what...

                  Comment

                  • Sasq
                    Administrator
                    • Jan 2001
                    • 4635

                    #10
                    one that says, 'and where does that request sit in my que of 500 or so other things to do for you today?'
                    Juu nin to iro


                    English doesn't borrow from other languages. It follows them down dark alleys, knocks them over, and goes through their pockets for loose grammar.

                    Comment

                    • ZokesPro
                      Serial Murcerer
                      • Sep 2000
                      • 8325

                      #11
                      <html>
                      <body>
                      Hello world!
                      </body>
                      </html>
                      Titanium is the new bling!
                      (you heard from me first!)

                      Comment

                      • gt40
                        This space for rent
                        • Sep 1999
                        • 3973

                        #12
                        start
                        call gfxoff ; switch the graphics off
                        mov r0,#vdc_char0 ; start char
                        mov r3,#20h ; x-position
                        mov r4,#20h ; y-position
                        mov r2,#0Bh ; length
                        mov r1,#hellostr & 0FFh ; the string to print
                        ; must be in the same page
                        loop mov a,r1 ; get pointer
                        movp a,@a ; get char
                        mov r5,a ; into to right register
                        inc r1 ; advance pointer
                        mov r6,#col_chr_white ; colour
                        call printchar ; print it
                        djnz r2,loop ; do it again
                        call gfxon ; lets see what is written
                        stop jmp stop ; Thats all

                        hellostr db 1Dh, 12h, 0Eh, 0Eh, 17h, 0Ch
                        db 11h, 17h, 13h, 0Eh, 1Ah
                        Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!

                        Comment

                        • az
                          Moderator
                          • Feb 2001
                          • 9336

                          #13
                          #include <stdio.h>

                          void main()
                          {
                          printf("Hello World!");
                          }

                          //yay! a comment!
                          There's an Opera in my macbook.

                          Comment

                          • cjolley
                            Super MURCer
                            • Aug 1999
                            • 7672

                            #14
                            select 'Hello World!'
                            from dual;
                            Chuck
                            秋音的爸爸

                            Comment

                            • ZokesPro
                              Serial Murcerer
                              • Sep 2000
                              • 8325

                              #15
                              ; Hello World in LOGO, graphical output.

                              go 20 , left 180,
                              go 40 , left 180,
                              go 20 , right 90,
                              go 20 , left 90 ,
                              go 20 , left 180,
                              go 40 , left 90 ,
                              go 20 , left 90 ,
                              go 20 , right 90 ,
                              go 20 , right 90 ,
                              go 10 , right 90 ,
                              go 20 , left 90 ,
                              go 10 , left 90 ,
                              go 30 , left 90 ,
                              go 40 , left 180,
                              go 40 , left 90 ,
                              go 20 , left 90 ,
                              go 40 , left 180,
                              go 40 , left 90 ,
                              go 40 , left 90 ,
                              go 20 , left 90 ,
                              go 20 , left 90 ,
                              go 20 , left 90 ,
                              go 60 , left 90 ,
                              go 40 , left 180,
                              go 40 , left 90 ,
                              go 20 , left 90 ,
                              go 20 , left 180,
                              go 20 , left 90 ,
                              go 20 , left 90 ,
                              go 40 , left 180,
                              go 40 , left 90 ,
                              go 40 , left 90 ,
                              go 20 , left 90 ,
                              go 20 , left 90 ,
                              go 20 , left 90 ,
                              go 40 , left 90 ,
                              go 20 , right 90,
                              go 20 , right 90,
                              go 5 , left 90 ,
                              go 5 , left 90 ,
                              go 25 , left 180,
                              go 40 , left 90 ,
                              go 40 , left 90 ,
                              go 20 , left 90 ,
                              go 20 , left 90 ,
                              go 20 , left 90 ,
                              go 20 , left 90 ,
                              go 40 , left 180,
                              go 40 ,
                              Titanium is the new bling!
                              (you heard from me first!)

                              Comment

                              Working...