Announcement

Collapse
No announcement yet.

Which "Hello World" Programmer are you?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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.

  • #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


    • #3
      @echo Hello World!

      There's an Opera in my macbook.

      Comment


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


        P.S. You've been Spanked!

        Comment


        • #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


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

            Or for the ultraconservative, just:

            "Hello World!"

            Comment


            • #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


              • #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


                • #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


                  • #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


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

                      Comment


                      • #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


                        • #13
                          #include <stdio.h>

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

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

                          Comment


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

                            Comment


                            • #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...
                              X