home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / World_Of_Computer_Software-02-387-Vol-3of3.iso / c / cl1.txt < prev    next >
Text File  |  1993-03-22  |  5KB  |  124 lines

  1.  
  2.    D/L From Aquarium:
  3.  
  4.    I thought I'd share this one with you all.  Good for a chuckle.
  5.    -----------------------------------------------------------------------
  6.    #: 307544 S17/Chit-Chat/Soapbox  [CLIPPER]
  7.        14-Mar-93  06:32
  8.    Sb: Comparing Languages
  9.    Fm: Charles Leichtag 100012,2310
  10.    To: All
  11.    
  12.    Comparing languages while standing on one foot:
  13.    I picked this up on another forum and thought that some of you guys
  14.    might enjoy reading it.
  15.    
  16.    C:  You shoot yourself in the foot.
  17.    
  18.    C++:  You accidentally create a dozen instances of yourself and
  19.    shoot them all in the foot.  Providing emergency assistance is
  20.    impossible since you can't tell which are bitwise copies and
  21.    which are just pointing at others and saying, "That's me, over
  22.    there."
  23.    
  24.    Fortran:  You shoot yourself in each toe, iteratively, until you
  25.    run out of toes, then you read in the next foot and repeat.  If
  26.    you run out of bullets, you continue anyway because you have no
  27.    exception-handling ability.
  28.    
  29.    Modula-2:  After realizing that you can't accomplish anything in
  30.    this language, you shoot yourself in the head.
  31.    
  32.    COBOL:  USEing a COLT 45 HANDGUN, AIM gun at LEG.FOOT, THEN
  33.    place ARM.HAND.FINGER on HANDGUN.TRIGGER and SQUEEZE, THEN
  34.    return HANDGUN to HOLDSTER.  CHECK whether shoelace needs to be
  35.    retied.
  36.    
  37.    LISP:  You shoot yourself in the appendage which holds the gun
  38.    with which you shoot yourself in the appendage which holds the
  39.    gun with which you shoot yourself in the appendage which holds
  40.    the gun with which you shoot yourself in the appendage which
  41.    holds  ...
  42.    
  43.    BASIC:  Shoot yourself in foot with water pistol.  On big
  44.    systems, continue until entire lower body in waterlogged.
  45.    -OR-
  46.    Basic: Your neighbor with a new PC tries to shoot his right foot - but
  47.    misses. Eventually, after your helping him all Sunday afternoon, he
  48.    shoots his left foot. The next day he happily describes to everyone in his
  49.    office just how he did it.
  50.  
  51.    FORTH:  Foot in yourself shoot.
  52.    
  53.    APL:  You shoot yourself in the foot, then spend all day
  54.    figuring out how to do it in fewer characters.
  55.    
  56.    Pascal:  The compiler won't let you shoot yourself in the foot.
  57.    
  58.    SNOBOL:  If you succeed, shoot yourself in the left foot.  If
  59.    you fail, shoot yourself in the right foot.
  60.  
  61.    Concurrent Euclid:  You shoot yourself in somebody else's foot.
  62.    
  63.    HyperTalk:  Put the first bullet of the gun into the left of leg
  64.    of you.  Answer the result.
  65.    
  66.    Motif:  You spend days writing a UIL description of your foot,
  67.    the trajectory, the bullet, and the intricate scrollwork on the
  68.    ivory handles of the gun.  When you finally get around to
  69.    pulling the trigger, the gun jams.
  70.    
  71.    Unix:  % Is foot.c foot.h foot.o toe.c toe.o % rm *.o rm: .o:
  72.    No such file or directory % is %
  73.    
  74.    DOS:  You can't get to either foot from here.
  75.    
  76.    Xbase:  Shooting yourself is no problem.  If you want to shoot
  77.    yourself in the foot, you'll have to use Clipper.
  78.    
  79.    Paradox:  Not only can you shoot yourself in the foot, your
  80.    users can too.
  81.    
  82.    Revelation:  You'll be able to shoot yourself in the foot, just
  83.    as soon as you figure out what all these bullets are for.
  84.    
  85.    Visual Basic:  You'll shoot yourself in the foot, but you'll
  86.    have so much fun doing it that you don't care.
  87.  
  88.    Prolog:  You tell your program you want to be shot in the foot.
  89.    The program figures out how to do it, but the syntax doesn't
  90.    allow it to explain.
  91.    
  92.    370 JCL:  You send your foot down to MIS with a 4000-page
  93.    document explaining how you want it to be shot.  Three years
  94.    later, your foot comes back deep-fried.
  95.    
  96.    Macintosh: Select gun from tools palette.  Double click on foot.
  97.    Sorry, there are no bullets in clipboard.
  98.    
  99.    But the proper APL is:
  100.    
  101.    Foot <- you shoot bullet
  102.    
  103.    The function "shoot" takes 2 arguments "you" and "bullet", where the
  104.    number feet shot is dependent on the rank of the bullet matrix. (For
  105.    non-APLers rank = dimensions). APL makes no discrimination as to
  106.    whose feet might be shot, it is purely the determination of the bullets.
  107.    
  108.    
  109.    Assembler: You shoot someone else in the foot.
  110.    
  111.    Eiffel: You cover yourself entirely with armor plate - except for your
  112.    foot. You then guarantee to shoot yourself only in the foot.
  113.  
  114.    Smalltalk: You send a message to your foot with a gun as one of the
  115.    parameters.  The message is: foot shoot-yourself.
  116.    
  117.    Ada: You arrange a rendezvous with your foot in order to shoot it.  But,
  118.    boss, it surprise you.  It-a no show up.
  119.    
  120. Michael McCormick
  121. Milwaukee, WI
  122.    
  123.  
  124.