High School/Jr.High

  10 PRINT "HELLO WORLD"
  20 END

First year in College

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

Senior year in College

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

New professional

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

Seasoned professional

  #include <iostream.h>
  #include <string.h>
  class string
  {
  private:
    int size;
    char *ptr;

  string() : size(0), ptr(new char[1])
 { ptr[0] = 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)
(And some others Lines of Code)

Master Programmer

  [
  uuid(2573F8F4-CFEE-101A-9A9F-00AA0030)
  ]
  library LHello
  {
      // bring in the master library
      importlib("actimp.tlb");
      importlib("actexp.tlb");

      // bring in my interfaces
      #include "pshlo.idl"

      [
      uuid(2573F8F5-CFEE-101A-9A9F-00AA0030)
      ]
      cotype THello
   {
   interface IHello;
   interface IPersistFile;
   };
  };

  [
  exe,
  uuid(2573F890-CFEE-101A-9A9F-00AA0030)
  ]
  module CHelloLib
  {

      // some code related header files
      importheader(<windows.h>);
      importheader(<ole2.h>);
      importheader(<except.hxx>);
      importheader("pshlo.h");
      importheader("shlo.hxx");
      importheader("mycls.hxx");

      // needed typelibs
      importlib("actimp.tlb");
      importlib("actexp.tlb");
      importlib("thlo.tlb");

      [
      uuid(2573F891-CFEE-101A-9A9F-00AA0030),
      aggregatable
      ]
      coclass CHello
(and many others Lines of code)

Apprentice Hacker

  #!/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;

Seasoned Hacker

  % cc -o a.out ~/src/misc/hw/hw.c
  % a.out

Guru Hacker

 % echo "Hello, world."

New 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

Articoli simili


Un Commento a L’Evoluzione di un Programmatore


  1. Chris
    mar 08, 2008

    Questa gira da aprecchio ma è sempre divertente,soprattutto le ultime dei manager :-D

Inserisci un commento




TheNorba.com © 2012 - basato su WordPress - Feed RSS | Grafica creata da Tancredi Matranga | Sitemap XML