home *** CD-ROM | disk | FTP | other *** search
/ linuxmafia.com 2016 / linuxmafia.com.tar / linuxmafia.com / pub / humour / real-programmers < prev    next >
Internet Message Format  |  1998-07-26  |  23KB

  1. From: cgwong@orchid.UUCP (Clint Wong)
  2. Newsgroups: rec.humor.funny.reruns
  3. Subject: Real Programmers Don't Eat Health Food
  4. Keywords: smirk, originally appeared in 1987
  5. Date: Wed, 5 Feb 97 7:20:04 EST
  6.  
  7. BACK IN THE GOOD OLD DAYS -- the "Golden Era" of computers, it was easy
  8. to separate the men from the boys (sometimes called "Real Men" and
  9. "Quiche Eaters" in the literature).  During this period, the Real Men
  10. were the ones that understood computer programming, and the Quiche
  11. Eaters were the ones that didn't.  A real computer programmer said
  12. things like "DO 10 I=1,10" and "ABEND" (they actually talked in capital
  13. letters, you understand), and the rest of the world said things like
  14. "computers are too complicated for me" and "I can't relate to computers
  15. -- they're so impersonal."  (A previous work [1] points out that Real
  16. Men don't "relate" to anything, and aren't afraid of being impersonal.)
  17.  
  18. But, as usual, times change.  We are faced today with a world in which
  19. little old ladies can get computers in their microwave ovens, 12 year
  20. old kids can blow Real Men out of the water playing Asteroids and
  21. Pac-Man, and anyone can buy and even understand their very own Personal
  22. Computer.  The Real Programmer is in danger of becoming extinct, of
  23. being replaced by high-school students with TRASH-80s.
  24.  
  25. There is a clear need to point out the differences between the typical
  26. high-school junior Pac-Man player and a Real Programmer.  If this
  27. difference is made clear, it will give these kids something to aspire
  28. to -- a role model, a Father Figure.  It will also help explain to the
  29. employers of Real Programmers why it would be a mistake to replace the
  30. Real Programmers on their staff with 12 year old Pac-Man players (at a
  31. considerable salary savings).
  32.  
  33. LANGUAGES
  34.  
  35. The easiest way to tell a Real Programmer from the crowd is by the
  36. programming language he (or she) uses.  Real Programmers use FORTRAN.
  37. Quiche Eaters use PASCAL.  Nicklaus Wirth, the designer of PASCAL, gave
  38. a talk once at which he was asked "How do you pronounce your name?"  He
  39. replied, "You can either call me by name, pronouncing it 'Veert', or
  40. call me by value, 'Worth'."  One can tell immediately from this comment
  41. that Nicklaus Wirth is a Quiche Eater.  The only parameter passing
  42. mechanism endorsed by Real Programmers is call-by-value-return, as
  43. implemented in the IBM/370 FORTRAN G and H compilers.  Real programmers
  44. don't need all these abstract concepts to get their jobs done -- they
  45. are perfectly happy with a keypunch, a FORTRAN IV compiler, and a beer.
  46.  
  47.   o   Real Programmers do List Processing in FORTRAN.
  48.  
  49.   o   Real Programmers do String Manipulation in FORTRAN.
  50.  
  51.   o   Real Programmers do Accounting (if they do it at all) in FORTRAN.
  52.  
  53.   o   Real Programmers do Artificial Intelligence programs in FORTRAN.
  54.  
  55. If you can't do it in FORTRAN, do it in assembly language.  If you
  56. can't do it in assembly language, it isn't worth doing.
  57.  
  58. STRUCTURED PROGRAMMING
  59.  
  60. The academics in computer science have gotten into the "structured
  61. programming" rut over the past several years.  They claim that programs
  62. are more easily understood if the programmer uses some special language
  63. constructs and techniques.  They don't all agree on exactly which
  64. constructs, of course, and the examples they use to show their
  65. particular point of view invariably fit on a single page of some
  66. obscure journal or another -- clearly not enough of an example to
  67. convince anyone.  When I got out of school, I thought I was the best
  68. programmer in the world.  I could write an unbeatable tic-tac-toe
  69. program, use five different computer languages, and create 1000 line
  70. programs that WORKED.  (Really!)  Then I got out into the Real World.
  71. My first task in the Real World was to read and understand a 200,000
  72. line FORTRAN program, then speed it up by a factor of two.  Any Real
  73. Programmer will tell you that all the Structured Coding in the world
  74. won't help you solve a problem like that -- it takes actual talent.
  75. Some quick observations on Real Programmers and Structured Programming:
  76.  
  77.   o   Real Programmers aren't afraid to use GOTOs.
  78.  
  79.   o   Real Programmers can write five page long DO loops without
  80.       getting confused.
  81.  
  82.   o   Real Programmers like Arithmetic IF statements -- they make the
  83.       code more interesting.
  84.  
  85.   o   Real Programmers write self-modifying code, especially if they
  86.       can save 20 nanoseconds in the middle of a tight loop.
  87.  
  88.   o   Real Programmers don't need comments -- the code is obvious.
  89.  
  90.   o   Since FORTRAN doesn't have a structured IF, REPEAT ...  UNTIL, or
  91.       CASE statement, Real Programmers don't have to worry about not
  92.       using them.  Besides, they can be simulated when necessary using
  93.       assigned GOTOs.
  94.  
  95. Data structures have also gotten a lot of press lately.  Abstract Data
  96. Types, Structures, Pointers, Lists, and Strings have become popular in
  97. certain circles.  Wirth (the above-mentioned Quiche Eater) actually
  98. wrote an entire book [2] contending that you could write a program
  99. based on data structures, instead of the other way around.  As all Real
  100. Programmers know, the only useful data structure is the Array.  Strings,
  101. Lists, Structures, Sets -- these are all special cases of arrays and
  102. can be treated that way just as easily without messing up your
  103. programming language with all sorts of complications.  The worst thing
  104. about fancy data types is that you have to declare them, and Real
  105. Programming Languages, as we all know, have implicit typing based on
  106. the first letter of the (six character) variable name.
  107.  
  108. OPERATING SYSTEMS
  109.  
  110. What kind of operating system is used by a Real Programmer?  CP/M?  God
  111. forbid -- CP/M, after all, is basically a toy operating system.  Even
  112. little old ladies and grade school students can understand and use
  113. CP/M.
  114.  
  115. Unix is a lot more complicated of course -- the typical Unix hacker
  116. never can remember what the PRINT command is called this week -- but
  117. when it gets right down to it, Unix is a glorified video game.  People
  118. don't do Serious Work on Unix systems:  they send jokes around the
  119. world on UUCP-net and write adventure games and research papers.
  120.  
  121. No, your Real Programmer uses OS/370.  A good programmer can find and
  122. understand the description of the IJK305I error he just got in his JCL
  123. manual.  A great programmer can write JCL without referring to the
  124. manual at all.  A truly outstanding programmer can find bugs buried in
  125. a 6 megabyte core dump without using a hex calculator.  (I have
  126. actually seen this done.)
  127.  
  128. OS is a truly remarkable operating system.  It's possible to destroy
  129. days of work with a single misplaced space, so alertness in the
  130. programming staff is encouraged.  The best way to approach the system
  131. is through a keypunch.  Some people claim there is a Time Sharing
  132. system that runs on OS/370, but after careful study I have come to the
  133. conclusion that they were mistaken.
  134.  
  135. PROGRAMMING TOOLS
  136.  
  137. What kind of tools does a Real Programmer use?  In theory, a Real
  138. Programmer could run his programs by keying them into the front panel
  139. of the computer.  Back in the days when computers had front panels,
  140. this was actually done occasionally.  Your typical Real Programmer knew
  141. the entire bootstrap loader by memory in hex, and toggled it in
  142. whenever it got destroyed by his program.  (Back then, memory was
  143. memory -- it didn't go away when the power went off.  Today, memory
  144. either forgets things when you don't want it to, or remembers things
  145. long after they're better forgotten.)  Legend has it that Seymour Cray,
  146. inventor of the Cray I supercomputer and most of Control Data's
  147. computers, actually toggled the first operating system for the CDC7600
  148. in on the front panel from memory when it was first powered on.
  149. Seymour, needless to say, is a Real Programmer.
  150.  
  151. One of my favorite Real Programmers was a systems programmer for Texas
  152. Instruments.  One day, he got a long distance call from a user whose
  153. system had crashed in the middle of saving some important work.  Jim
  154. was able to repair the damage over the phone, getting the user to
  155. toggle in disk I/O instructions at the front panel, repairing system
  156. tables in hex, reading register contents back over the phone.  The
  157. moral of this story:  while a Real Programmer usually includes a
  158. keypunch and lineprinter in his toolkit, he can get along with just a
  159. front panel and a telephone in emergencies.
  160.  
  161. In some companies, text editing no longer consists of ten engineers
  162. standing in line to use an 029 keypunch.  In fact, the building I work
  163. in doesn't contain a single keypunch.  The Real Programmer in this
  164. situation has to do his work with a "text editor" program.  Most
  165. systems supply several text editors to select from, and the Real
  166. Programmer must be careful to pick one that reflects his personal
  167. style.  Many people believe that the best text editors in the world
  168. were written at Xerox Palo Alto Research Center for use on their Alto
  169. and Dorado computers [3].  Unfortunately, no Real Programmer would ever
  170. use a computer whose operating system is called SmallTalk, and would
  171. certainly not talk to the computer with a mouse.
  172.  
  173. Some of the concepts in these Xerox editors have been incorporated into
  174. editors running on more reasonably named operating systems -- EMACS and
  175. VI being two.  The problem with these editors is that Real Programmers
  176. consider "what you see is what you get" to be just as bad a concept in
  177. Text Editors as it is in Women.  No, the Real Programmer wants a "you
  178. asked for it, you got it" text editor -- complicated, cryptic,
  179. powerful, unforgiving, dangerous.  TECO, to be precise.
  180.  
  181. It has been observed that a TECO command sequence more closely
  182. resembles transmission line noise than readable text [4].  One of the
  183. more entertaining games to play with TECO is to type your name in as a
  184. command line and try to guess what it does.  Just about any possible
  185. typing error while talking with TECO will probably destroy your
  186. program, or even worse -- introduce subtle and mysterious bugs in a
  187. once working subroutine.
  188.  
  189. For this reason, Real Programmers are reluctant to actually edit a
  190. program that is close to working.  They find it much easier to just
  191. patch the binary object code directly, using a wonderful program called
  192. SUPERZAP (or its equivalent on non-IBM machines).  This works so well
  193. that many working programs on IBM systems bear no relation to the
  194. original FORTRAN code.  In many cases, the original source code is no
  195. longer available.  When it comes time to fix a program like this, no
  196. manager would even think of sending anything less than a Real
  197. Programmer to do the job -- no Quiche Eating structured programmer
  198. would even know where to start.  This is called "job security."  Some
  199. programming tools NOT used by Real Programmers:
  200.  
  201.   o   FORTRAN preprocessors like MORTRAN and RATFOR.  The Cuisinarts of
  202.       programming -- great for making Quiche.  See comments above on
  203.       structured programming.
  204.  
  205.   o   Source language debuggers.  Real Programmers can read core dumps.
  206.  
  207.   o   Compilers with array bounds checking.  They stifle creativity,
  208.       destroy most of the interesting uses for EQUIVALENCE, and make it
  209.       impossible to modify the operating system code with negative
  210.       subscripts.  Worst of all, bounds checking is inefficient.
  211.  
  212.   o   Source code maintenance systems.  A Real Programmer keeps his
  213.       code locked up in a card file, because it implies that its owner
  214.       cannot leave his important programs unguarded [5].
  215.  
  216. THE REAL PROGRAMMER AT WORK
  217.  
  218. Where does the typical Real Programmer work?  What kind of programs are
  219. worthy of the efforts of so talented an individual?  You can be sure
  220. that no real Programmer would be caught dead writing accounts-receivable
  221. programs in COBOL, or sorting mailing lists for People magazine.  A
  222. Real Programmer wants tasks of earth-shaking importance (literally!).
  223.  
  224.   o   Real Programmers work for Los Alamos National Laboratory, writing
  225.       atomic bomb simulations to run on Cray I supercomputers.
  226.  
  227.   o   Real Programmers work for the National Security Agency, decoding
  228.       Russian transmissions.
  229.  
  230.   o   It was largely due to the efforts of thousands of Real
  231.       Programmers working for NASA that our boys got to the moon and
  232.       back before the Russkies.
  233.  
  234.   o   The computers in the Space Shuttle were programmed by Real
  235.       Programmers.
  236.  
  237.   o   Real Programmers are at work for Boeing designing the operating
  238.       systems for cruise missiles.
  239.  
  240. Some of the most awesome Real Programmers of all work at the Jet
  241. Propulsion Laboratory in California.  Many of them know the entire
  242. operating system of the Pioneer and Voyager spacecraft by heart.  With
  243. a combination of large ground-based FORTRAN programs and small
  244. spacecraft-based assembly language programs, they are able to do
  245. incredible feats of navigation and improvisation -- hitting ten-kilometer
  246. wide windows at Saturn after six years in space, repairing or bypassing
  247. damaged sensor platforms, radios, and batteries.  Allegedly, one Real
  248. Programmer managed to tuck a pattern-matching program into a few
  249. hundred bytes of unused memory in a Voyager spacecraft that searched
  250. for, located, and photographed a new moon of Jupiter.
  251.  
  252. The current plan for the Galileo spacecraft is to use a gravity assist
  253. trajectory past Mars on the way to Jupiter.  This trajectory passes
  254. within 80 +/- 3 kilometers of the surface of Mars.  Nobody is going to
  255. trust a PASCAL program (or PASCAL programmer) for navigation to these
  256. tolerances.
  257.  
  258. As you can tell, many of the world's Real Programmers work for the U.S.
  259. Government -- mainly the Defense Department.  This is as it should be.
  260. Recently, however, a black cloud has formed on the Real Programmer
  261. horizon.  It seems that some highly placed Quiche Eaters at the Defense
  262. Department decided that all Defense programs should be written in some
  263. grand unified language called "ADA,"{reg} (DoD).  For a while, it
  264. seemed that ADA was destined to become a language that went against all
  265. the precepts of Real Programming -- a language with structure, a
  266. language with data types, strong typing, and semicolons.  In short, a
  267. language designed to cripple the creativity of the typical Real
  268. Programmer.  Fortunately, the language adopted by DoD has enough
  269. interesting features to make it approachable -- it's incredibly
  270. complex, includes methods for messing with the operating system and
  271. rearranging memory, and Edsgar Dijkstra doesn't like it [6].  (Dijkstra,
  272. as I'm sure you know, was the author of "GoTos Considered Harmful" -- a
  273. landmark work in programming methodology, applauded by Pascal
  274. Programmers and Quiche Eaters alike.)  Besides, the determined Real
  275. Programmer can write FORTRAN programs in any language.
  276.  
  277. The real programmer might compromise his principles and work on
  278. something slightly more trivial than the destruction of life as we know
  279. it, providing there's enough money in it.  There are several Real
  280. Programmers building video games at Atari, for example.  (But not
  281. playing them -- a Real Programmer knows how to beat the machine every
  282. time:  no challenge in that.)  Everyone working at LucasFilm is a Real
  283. Programmer.  (It would be crazy to turn down the money of fifty million
  284. Star Trek fans.)  The proportion of Real Programmers in Computer
  285. Graphics is somewhat lower than the norm, mostly because nobody has
  286. found a use for Computer Graphics yet.  On the other hand, all Computer
  287. Graphics is done in FORTRAN, so there are a fair number people doing
  288. Graphics in order to avoid having to write COBOL programs.
  289.  
  290. THE REAL PROGRAMMER AT PLAY
  291.  
  292. Generally, the Real Programmer plays the same way he works -- with
  293. computers.  He is constantly amazed that his employer actually pays him
  294. to do what he would be doing for fun anyway (although he is careful not
  295. to express this opinion out loud).  Occasionally, the Real Programmer
  296. does step out of the office for a breath of fresh air and a beer or
  297. two.  Some tips on recognizing real programmers away from the computer
  298. room:
  299.  
  300.   o   At a party, the Real Programmers are the ones in the corner
  301.       talking about operating system security and how to get around it.
  302.  
  303.   o   At a football game, the Real Programmer is the one comparing the
  304.       plays against his simulations printed on 11 by 14 fanfold paper.
  305.  
  306.   o   At the beach, the Real Programmer is the one drawing flowcharts
  307.       in the sand.
  308.  
  309.   o   A Real Programmer goes to discos to watch the light shows.
  310.  
  311.   o   At a funeral, the Real Programmer is the one saying "Poor George.
  312.       And he almost had the sort routine working before the coronary."
  313.  
  314.   o   In a grocery store, the Real Programmer is the one who insists on
  315.       running the cans past the laser checkout scanner himself, because
  316.       he never could trust keypunch operators to get it right the first
  317.       time.
  318.  
  319. THE REAL PROGRAMMER'S NATURAL HABITAT
  320.  
  321. What sort of environment does the Real Programmer function best in?
  322. This is an important question for the managers of Real Programmers.
  323. Considering the amount of money it costs to keep one on the staff, it's
  324. best to put him (or her) in an environment where he can get his work
  325. done.
  326.  
  327. The typical Real Programmer lives in front of a computer terminal.
  328. Surrounding this terminal are:
  329.  
  330.   o   Listings of all programs the Real Programmer has ever worked on,
  331.       piled in roughly chronological order on every flat surface in the
  332.       office.
  333.  
  334.   o   Some half-dozen or so partly filled cups of cold coffee.
  335.       Occasionally, there will be cigarette butts floating in the
  336.       coffee.  In some cases, the cups will contain Orange Crush.
  337.  
  338.   o   Unless he is very good, there will be copies of the OS JCL manual
  339.       and the Principles of Operation open to some particularly
  340.       interesting pages.
  341.  
  342.   o   Taped to the wall is a line-printer Snoopy calendar for the year
  343.       1969.
  344.  
  345.   o   Strewn about the floor are several wrappers for peanut butter
  346.       filled cheese bars -- the type that are made pre-stale at the
  347.       bakery so they can't get any worse while waiting in the vending
  348.       machine.
  349.  
  350.   o   Hiding in the top left-hand drawer of the desk is a stash of
  351.       double-stuff Oreos for special occasions.
  352.  
  353.   o   Underneath the Oreos is a flow-charting template, left there by
  354.       the previous occupant of the office.  (Real Programmers write
  355.       programs, not documentation.  Leave that to the maintenance
  356.       people.)
  357.  
  358. The Real Programmer is capable of working 30, 40, even 50 hours at a
  359. stretch, under intense pressure.  In fact, he prefers it that way.  Bad
  360. response time doesn't bother the Real Programmer -- it gives him a
  361. chance to catch a little sleep between compiles.  If there is not
  362. enough schedule pressure on the Real Programmer, he tends to make
  363. things more challenging by working on some small but interesting part
  364. of the problem for the first nine weeks, then finishing the rest in the
  365. last week, in two or three 50-hour marathons.  This not only impresses
  366. the hell out of his manager, who was despairing of ever getting the
  367. project done on time, but creates a convenient excuse for not doing the
  368. documentation.  In general:
  369.  
  370.   o   No Real Programmer works 9 to 5.  (Unless it's the ones at
  371.       night.)
  372.  
  373.   o   Real Programmers don't wear neckties.
  374.  
  375.   o   Real Programmers don't wear high heeled shoes.
  376.  
  377.   o   Real Programmers arrive at work in time for lunch.  [9]
  378.  
  379.   o   A Real Programmer might or might not know his wife's name.  He
  380.       does, however, know the entire ASCII (or EBCDIC) code table.
  381.  
  382.   o   Real Programmers don't know how to cook.  Grocery stores aren't
  383.       open at three in the morning.  Real Programmers survive on
  384.       Twinkies and coffee.
  385.  
  386. THE FUTURE
  387.  
  388. What of the future?  It is a matter of some concern to Real Programmers
  389. that the latest generation of computer programmers are not being
  390. brought up with the same outlook on life as their elders.  Many of them
  391. have never seen a computer with a front panel.  Hardly anyone
  392. graduating from school these days can do hex arithmetic without a
  393. calculator.  College graduates these days are soft -- protected from
  394. the realities of programming by source level debuggers, text editors
  395. that count parentheses, and "user friendly" operating systems.  Worst
  396. of all, some of these alleged "computer scientists" manage to get
  397. degrees without ever learning FORTRAN!  Are we destined to become an
  398. industry of Unix hackers and Pascal programmers?
  399.  
  400. From my experience, I can only report that the future is bright for
  401. Real Programmers everywhere.  Neither OS/370 nor FORTRAN show any signs
  402. of dying out, despite all the efforts of Pascal programmers the world
  403. over.  Even more subtle tricks, like adding structured coding
  404. constructs to FORTRAN have failed.  Oh sure, some computer vendors have
  405. come out with FORTRAN 77 compilers, but every one of them has a way of
  406. converting itself back into a FORTRAN 66 compiler at the drop of an
  407. option card -- to compile DO loops like God meant them to be.
  408.  
  409. Even Unix might not be as bad on Real Programmers as it once was.  The
  410. latest release of Unix has the potential of an operating system worthy
  411. of any Real Programmer -- two different and subtly incompatible user
  412. interfaces, an arcane and complicated teletype driver, virtual memory.
  413. If you ignore the fact that it's "structured," even 'C' programming can
  414. be appreciated by the Real Programmer:  after all, there's no type
  415. checking, variable names are seven (ten?  eight?)  characters long, and
  416. the added bonus of the Pointer data type is thrown in -- like having
  417. the best parts of FORTRAN and assembly language in one place.  (Not to
  418. mention some of the more creative uses for define.)
  419.  
  420. No, the future isn't all that bad.  Why, in the past few years, the
  421. popular press has even commented on the bright new crop of computer
  422. nerds and hackers ([7] and [8]) leaving places like Stanford and M.I.T.
  423. for the Real World.  From all evidence, the spirit of Real Programming
  424. lives on in these young men and women.  As long as there are
  425. ill-defined goals, bizarre bugs, and unrealistic schedules, there will
  426. be Real Programmers willing to jump in and Solve The Problem, saving
  427. the documentation for later.  Long live FORTRAN!
  428.  
  429. ACKNOWLEDGEMENTS
  430.  
  431. I would like to thank Jan E., Dave S., Rich G., Rich E.  for their help
  432. in characterizing the Real Programmer, Heather B.  for the illustration,
  433. Kathy E.  for putting up with it, and atd!avsdS:mark for the initial
  434. inspiration.
  435.  
  436. Copyright (c) 1982 Ed Post, Tektronix, Inc., Wilsonville, OR.
  437.  
  438. --
  439. From the RHF archives as selected by Brad Templeton, Maddi Hausmann and
  440. Jim Griffith.  This newsgroup posts former jokes from the newsgroup
  441. rec.humor.funny.
  442.  
  443. Web users, you can read a random joke from the archives just by bookmarking 
  444.     http://comedy.clari.net/cgi-bin/randomurl/rhf/jokes/masterlist
  445.  
  446.