1. Disarankan registrasi memakai email gmail. Problem reset email maupun registrasi silakan email kami di inquiry@idws.id menggunakan email terkait.
  2. Untuk kamu yang mendapatkan peringatan "Koneksi tidak aman" atau "Your connection is not private" ketika mengakses forum IDWS, bisa cek ke sini yak.
  3. Hai IDWS Mania, buat kamu yang ingin support forum IDWS, bebas iklan, cek hidden post, dan fitur lain.. kamu bisa berdonasi Gatotkaca di sini yaa~
  4. Pengen ganti nama ID atau Plat tambahan? Sekarang bisa loh! Cek infonya di sini yaa!
  5. Pengen belajar jadi staff forum IDWS? Sekarang kamu bisa ajuin Moderator in Trainee loh!. Intip di sini kuy~

The Various "Hello World"

Discussion in 'Tengah Komunitas' started by usus12jari, Apr 16, 2009.

Thread Status:
Not open for further replies.
  1. usus12jari Banned User

    Offline

    Lurking Around

    Joined:
    Jul 27, 2008
    Messages:
    1,275
    Trophy Points:
    0
    Ratings:
    +7,745 / -0
    Hmm.... Kayaknya lebih pas dipasang disini, tapi klo menurut momod salah tempat ya pindahin aja :em4700:

    ----

    How the way people code "Hello World" varies depending on their age and job:


    High School/Jr.High
    Code:
    
     10 PRINT "HELLO WORLD"
     20 END
    
    First year in College

    Code:
     program Hello(input, output)
     begin
     writeln('Hello World')
     end.
    
    Senior year in College

    Code:
     (defun hello
     (print
     (cons 'Hello (list 'World))))

    New professional

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



    Seasoned professional

    Code:
     #include <iostream.h>
     #include <string.h>
     class string
     {
      private:
       int size;
       char *ptr;
      public:
       string() : size(0), ptr(new char('\0')) {}
       string(const string &s) : size(s.size)
       {
         ptr = new char[size + 1];
         strcpy(ptr, s.ptr);
       }
       ~string()
       {
         delete [] ptr;
       }
       friend ostream &operator <<(ostream &, const string &);
       string &operator=(const char *);
     };
    								     
     ostream &operator<<(ostream &stream, const string &s)
     {
       return(stream << s.ptr);
     }
     string &string::operator=(const char *chrs)
     {
       if (this != &chrs)
       {
         delete [] ptr;
         size = strlen(chrs);
         ptr = new char[size + 1];
         strcpy(ptr, chrs);
       }
       return(*this);
     }
     int main()
     {
       string str;
       str = "Hello World";
       cout << str << endl;
       return(0);
     }

    System Administrator

    Code:
     #include <stdio.h>
     #include <stdlib.h>
     main()
     {
      char *tmp;
      int i=0;
      /* on y va bourin */
      tmp=(char *)malloc(1024*sizeof(char));
      while (tmp="Hello Wolrd"[i++]);
      /* Ooopps y'a une infusion ! */
      i=(int)tmp[8];
      tmp[8]=tmp[9];
      tmp[9]=(char)i;
      printf("%s\n",tmp);
     }


    Apprentice Hacker

    Code:
     #!/usr/local/bin/perl
     $msg="Hello, world.\n";
     if ($#ARGV >= 0) {
         while(defined($arg=shift(@ARGV))) {
             $outfilename = $arg;
             open(FILE, ">" . $outfilename) || die "Can't write $arg: $!\n";
             print (FILE $msg);
             close(FILE) || die "Can't close $arg: $!\n";
         }
     } else {
         print ($msg);
     }
     1;
    Experienced Hacker

    Code:
     #include <stdio.h>
     #include <string.h>
     #define S "Hello, World\n"
     main(){exit(printf(S) == strlen(S) ? 0 : 1);}

    Seasoned Hacker

    Code:
     % cc -o a.out ~/src/misc/hw/hw.c
     % a.out
     Hello, world.

    Guru Hacker

    Code:
     % cat
     Hello, world.
    New Manager (do you remember?)

    Code:
     10 PRINT "HELLO WORLD"
     20 END

    Middle Manager

    Code:
     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

    Code:
     % zmail jim
     I need a "Hello, world." program by this afternoon.
    Chief Executive

    Code:
     % letter
     letter: Command not found.
     % mail
     To: ^X ^F ^C
     % help mail
     help: Command not found.
     % damn!
     !: Event unrecognized
     % logout
    Research Scientist

    Code:
            PROGRAM HELLO
    	PRINT *, 'Hello World'
    	END
    Older research Scientist

    Code:
    	WRITE (6, 100)
        100 FORMAT (1H ,11HHELLO WORLD)
    	CALL EXIT
    	END
    :haha: :haha: :haha: :haha: :haha:
    :haha: :haha: :haha: :haha: :haha:

    euh... what? didn't get the joke?
    aw geez.... re-read from the top to bottom :onion-11:
     
  2. Ramasinta Tukang Iklan

  3. xaea M V U

    Offline

    Lurking Around

    Joined:
    May 17, 2008
    Messages:
    1,517
    Trophy Points:
    211
    Ratings:
    +14,860 / -0
    nyang fortran gua belum pernah nyobain..
     
  4. usus12jari Banned User

    Offline

    Lurking Around

    Joined:
    Jul 27, 2008
    Messages:
    1,275
    Trophy Points:
    0
    Ratings:
    +7,745 / -0
    @xaea
    fortran? yang research scientist?
    sama belum pernah nyoba :lol:

    yang system administrator, para manager, chief executive plus seasoned hacker geblek bukan main :onion-11:
     
    Last edited: Apr 16, 2009
  5. de_unlimited M V U

    Offline

    Lurking Around

    Joined:
    Nov 1, 2007
    Messages:
    616
    Trophy Points:
    206
    Ratings:
    +8,557 / -0
    sedikit bingung awalnya... tapi pas dah sampai bagian manager baru ngarti.... maklum orang awam
     
  6. marukakashi M V U

    Offline

    Lurking Around

    Joined:
    Nov 2, 2008
    Messages:
    1,087
    Trophy Points:
    161
    Ratings:
    +2,534 / -1
    waduh.... saya kira serius :confused:

    ternyata... :haha:

    taunya hello world saya cuman ini :D

    Code:
    BlankClip()
    Subtitle("Hello, world!")
     
  7. mr_ark SUPERMOD
    Kawaii

    Offline

    ★★★/人 ◕ ‿‿ ◕ 人\★★★

    Joined:
    Jan 14, 2009
    Messages:
    27,128
    Trophy Points:
    337
    Gender:
    Male
    Ratings:
    +95,143 / -17
    Versi gw :hihi:

    Bahasa C
    Code:
    /* Hello World Ver.1.1 by Mr.Ark 
        Language = C
    */
    
    #include <stdio.h>
    int main(){
         puts("Hello World");
    
         return 0;
    }
    
    

    HTML
    Code:
    <!--Hello World--><HTML><BODY>Hello World!</BODY></HTML>
    

    Tapi gw paling demen ama versi manager. makin tinggi jabatan managernya, makin males bikin program, malah nyuruh orang bikinin lewat e-mail :haha:
     
    Last edited: Apr 16, 2009
  8. usus12jari Banned User

    Offline

    Lurking Around

    Joined:
    Jul 27, 2008
    Messages:
    1,275
    Trophy Points:
    0
    Ratings:
    +7,745 / -0
    :onion-102:
    halah... iya... iya....
    yakinlah kalian pada jago2 coding nya
    tapi maksud thread ini kan.... joke :swt:
    klo mau post code, setidaknya yang ada joke nya :swt:
     
  9. xaea M V U

    Offline

    Lurking Around

    Joined:
    May 17, 2008
    Messages:
    1,517
    Trophy Points:
    211
    Ratings:
    +14,860 / -0
    nyang sysadmin tu dodol, pake kebalik² lg
     
  10. Feischmaker M V U

    Offline

    Lurking Around

    Joined:
    Aug 28, 2008
    Messages:
    1,489
    Trophy Points:
    161
    Ratings:
    +2,024 / -0
    emang kan?? namanya juga manajer... dipikiran mereka, banyak hal yang lebih penting dari coding... lha wong data retrieval dengan SQL query aja males koq, mereka maunya tinggal klik2x :p
     
  11. HoushiNoHikari M V U

    Offline

    Post Hunter

    Joined:
    Feb 26, 2009
    Messages:
    3,404
    Trophy Points:
    162
    Ratings:
    +4,954 / -0
    nga ngerti aku :swt:
     
  12. ShadowHeart M V U

    Offline

    Post Hunter

    Joined:
    Nov 26, 2008
    Messages:
    2,681
    Trophy Points:
    211
    Ratings:
    +10,238 / -0
    Seram banget codingan dari seasoned professional :swt:
    ~Kapan gw bisa ngoding sampai serumit itu yah :hihi:
     
  13. dorayakikun Banned User

    Offline

    Beginner

    Joined:
    Oct 23, 2008
    Messages:
    288
    Trophy Points:
    0
    Ratings:
    +2,100 / -0
    :lol: yg guru hacker, middle & senior manager, & chief ex :lol: :lol:
     
    Last edited: Apr 16, 2009
  14. usus12jari Banned User

    Offline

    Lurking Around

    Joined:
    Jul 27, 2008
    Messages:
    1,275
    Trophy Points:
    0
    Ratings:
    +7,745 / -0
    @ShadowHeart
    lah... jangan mau jadi yang seasoned professional
    kandidat runner up paling ngaco dibawah chief executive :lol:
    padahal cuma mo nampilin teks hello world doang :lol:

    @dorayakikun
    yang chief ex. itu csh, kan?
    pas `damn!` seharusnya gak dianggap event, kan?
    biarin lah, toh cuma copas dari GNU Humor
     
  15. astroboy M V U

    Offline

    Beginner

    Joined:
    Jan 16, 2009
    Messages:
    215
    Trophy Points:
    56
    Ratings:
    +17 / -0
    :lol:
    buat hello world aj ribetnya stengah matee....gim klo mo buat website ky IDWS
    :lol:
     
  16. Recs Veteran

    Offline

    Post Hunter

    Joined:
    Aug 4, 2008
    Messages:
    4,438
    Trophy Points:
    251
    Ratings:
    +7,260 / -0
    versi gw:
    Code:
    open 'notepad'
    type 'hello world'
    save.
    :ngacir:
     
  17. taishou M V U

    Offline

    Post Hunter

    Joined:
    Apr 18, 2009
    Messages:
    2,951
    Trophy Points:
    227
    Gender:
    Male
    Ratings:
    +33,936 / -0
    gw baru masuk kul dah dkasih yg new profesional :D:D
     
Thread Status:
Not open for further replies.

About Forum IDWS

IDWS, dari kami yang terbaik-untuk kamu-kamu (the best from us to you) yang lebih dikenal dengan IDWS adalah sebuah forum komunitas lokal yang berdiri sejak 15 April 2007. Dibangun sebagai sarana mediasi dengan rekan-rekan pengguna IDWS dan memberikan terbaik untuk para penduduk internet Indonesia menyajikan berbagai macam topik diskusi.