TILBAGE

REAL PROGRAMMERS



"REAL PROGRAMMERS DON'T USE PASCAL"
___________________________________



Back in the good old days - the "Golden Era" of computers, it was easy
to separate the men from the boys (sometimes called "Real Men" and
"Quiche Eaters" in the literature). During this period, the Real Men
were the ones that understood computer programming, and the Quiche
Eaters were the ones that didn't. A real computer programmer said things
like "DO 10 I=1,10" and "ABEND" (they actually talked in capital
letters, you understand), and the rest of the world said things like
"computers are too complicated for me" and "I cannot relate to computers
- they are so impersonal". (Real Men don't "relate" to anything, and
aren't afraid of being impersonal.)

But, as usual, times change. We are faced today with a world in which
little old ladies can get computers in their microwave ovens.
12-year-old kids can blow Real Men out of the water playing Asteroids
and Pac-Man, and anyone can buy and even understand their very own Per-
sonal Computer. The Real Programmer is in danger of becoming extinct, of
being replaced by high-school students with BBC Micros.

There is a clear need to point out the difference between the typical
high-school junior Pac-Man player and a Real Programmer. If this differ-
ence is made clear, it will give these kids something to aspire to - a
role model, a Father Figure. It will also help explain to the employers
of Real Programmers why it would be a mistake to replace the Real Pro-
grammers on their staff with 12-year-old Pac-Man players (at a
considerable salary savings).



LANGUAGES
_________


The easiest way to tell a Real Programmer from the crowd is by the pro-
gramming language he (or she) uses. Real Programmers use FORTRAN.
Quiche Eaters use PASCAL. Nicklaus Wirth, the designer of PASCAL, gave a
talk once at which he was asked "How do you pronounce your name?". He
replied, "You can either call me by name, pronouncing it 'Veert', or
call me by value, 'Worth'." One can tell immediately from this comment
that Nicklaus Wirth is a Quiche Eater. The only parameter passing mech-
anism endorsed by Real Programmers is call-by-value -return, as
implemented in the IBM/370 FORTRAN-G and H compilers. Real Programmers
don't need all these abstract concepts to get their jobs done - they are
perfectly happy with a keypunch, a FORTRAN IV compiler, and a beer.

o Real Programmers do List Processing in FORTRAN.
o Real Programmers do String Manipulation in FORTRAN.
o Real Programmers do Accounting (if they do it at all) in FORTRAN.
o Real Programmers do Artificial Intelligence programs in FORTRAN.

If you can't do it in FORTRAN, do it in assembly language. If you can't
do it in assembly language, it isn't worth doing.



STRUCTURED PROGRAMMING
______________________


The academics in computer science have got into the "structured program-
ming" rut over the past several years. They claim that programs are more
easily understood if the programmer uses some special language con-
structs and techniques. They don't all agree on exactly which
constructs, of course, and the examples they use to show their partic-
ular point of view invariably fit on a single page of some obscure
journal or another - clearly not enough of an example to convince
anyone. When I got out of school, I thought I was the best programmer in
the world. I could write an unbeatable tic-tac-toe program, use five
different computer languages, and create 1000-line programs that WORKED.
(Really!). Then I got out into the Real World. My first task in the Real
World was to read and understand a 200.000-line FORTRAN program, then
speed it up by a factor of two. Any Real Programmer will tell you that
all the Structured Coding in the world won't help you solve a problem
like that - it takes actual talent. Some observations on Real Program-
mers and Structured Programming:

o Real Programmers aren't afraid to use GOTO's.
o Real Programmers can write 5-page-long DO loops without getting con-
fused.
o Real Programmers like Arithmetic IFs - they make for interesting
code.
o Real Programmers write self-modifying code, especially if they can
save 20 nanoseconds in the middle of a tight loop.
o Real Programmers don't need comments - the code is obvious.
o Since FORTRAN doesn't have a structured IF, REPEAT ... UNTIL, or
CASE statement, Real Programmers don't have to worry about not using
them. Besides, they can be simulated when necessary using assigned
GOTO's.

Data Structures have also got a lot of press lately. Abstract Data
Types, Structures, Pointers, Lists, and Strings have become popular in
certain circles. Wirth (the above-mentioned Quiche Eater) actually wrote
an entire book contending that you could write a program based on data
structures, instead of the other way around. As all Real Programmers
know the only useful data structure is the Array. Strings, lists, struc-
tures, sets - these are all special cases of arrays and can be treated
that way just as easily without messing up your programming language
with all sorts of complications. The worst thing about fancy data types
is that you have to declare them, and Real Programming Languages, as we
all know, have implicit typing based on the first letter of the (six
character) variable name.



OPERATING SYSTEMS
_________________


Real Programmers don't use CP/M - basically a toy operating system. Even
little old ladies and primary school kids can understand and use CP/M.

Unix is a lot more complicated of course - the typical Unix hacker never
can remember what the PRINT command is called this week - but when it
gets right down to it, Unix is a glorified video game. People don't do
Serious Work on Unix systems: they send jokes around the world on
UUCP-net and write adventure games and research papers.

No, your Real Programmer uses OS/370. A good programmer can find and
understand the description of the IJK3051 error he just got in his JCL
manual. A great programmer can write JCL without referring to the manual
at all. A truly outstanding programmer can find bugs buried in a 6 mega-
byte core dump without using a hex calculator.

OS is a truly remarkable operating system. It's possible to destroy days
of work with a single misplaced space, so alertness in the programming
staff is encouraged. The best way to approach the system is through a
keypunch. Some people claim there is a Time Sharing system that runs on
OS/370, but after careful study I have come to the conclusion that they
were mistaken.



PROGRAMMING TOOLS
_________________


In theory, a Real Programmer could run his programs by keying them into
the front panel of the computer. Back in the days when computers had
front panels, this was actually done occasionally. Your typical Real
Programmer knew the entire bootstrap loader by memory in hex, and tog-
gled it in whenever it got destroyed by his program. (Back then, memory
was memory - it didn't go away when the power went off. Today, memory
either forgets things when you don't want it to, or remembers things
long after they're better forgotten.) Legend has it that Seymore Cray,
inventor of the Cray I supercomputer and most of Control Data's comput-
ers, actually toggled the first operating system for the CDC7600 in on
the front panel from memory when it was first powered on. Seymore, need-
less to say, is a Real Programmer.

In some companies, text editing no longer consists of ten engineers
standing in line to use an 029 keypunch. The Real Programmer nowadays
has to do his work with a "text editor". Many people believe that the
best text editors in the world were written at Xerox Palo Alto Research
Center for use on their Alto and Dorado computers. Unfortunately, no
Real Programmer would ever use a computer whose operating system is
called SmallTalk, and would certainly not talk to the computer with a
mouse.

The problem with these editors is that Real Programmers consider "what
you see is what you get" to be just as bad a concept in Text Editors as
it is in women. No, the Real Programmer wants a "you asked for it, you
got it" text editor - complicated, cryptic, powerful, unforgiving, dan-
gerous.

Real Programmers are reluctant to actually edit a program that is close
to working. They find it much easier to just patch the binary object
code directly. This works so well that many working programs bear no
relation to the original FORTRAN code. In many cases, the original
source code is no longer available. When it comes time to fix a program
like this, no manager would even think of sending anything less than a
Real Programmer to do the job - no Quiche Eating structured programmer
would even know where to start. This is called "job security".

Some programming tools NOT used by Real Programmers:

o FORTRAN preprocessors like MORTRAN and RATFOR. The Cuisinarts of
programming - great for making Quiche.
o Source language debuggers. Real Programmers can read core dumps.
o Compilers with array bounds checking. They stifle creativity,
destroy most of the interesting uses for EQUIVALENCE, and make it
impossible to modify the operating system code with negative sub-
scripts. Worst of all, bounds checking is inefficient.
o Source code maintenance systems. A Real Programmer keeps his code
locked up in a card file, because it implies that its owner cannot
leave his important programs unguarded.



THE REAL PROGRAMMER AT WORK
___________________________


No Real Programmer would be caught dead writing accounts programs in
COBOL, or sorting mailing lists. A Real Programmer wants tasks of
earth-shaking importance (literally!).

o Real Programmers work for Los Alamos National Laboratory, writing
atomic bomb simulations to run on Cray I supercomputers.
o Real Programmers work for the National Security Agency, decoding
Russian transmissions.
o It was largely due to the efforts of thousands of Real Programmers
working for NASA that our boys got to the moon and back before the
Russkies. (Nobody is going to trust a PASCAL program (or programmer)
for navigation to these tolerances.)
o Real Programmers are at work for Boeing designing the operating sys-
tems for cruise missiles.

Many of the world's Real Programmers work for the U.S. Government.
Recently, however, a black cloud has formed on the Real Programmer hori-
zon. It seems that some highly placed Quiche Eaters at the Defense
Department decided that all Defense programs should be written in some
grand unified language called "ADA". For a while, it seemed that ADA was
destined to become a language that went against all the precepts of Real
Programming - a language with structure, a language with data types,
strong typing, and semicolons. In short, a language designed to cripple
the creativity of the typical Real Programmer. Fortunately, the language
adopted by DoD has enough interesting features to make it approachable -
it's incredibly complex, includes methods for messing with the operating
system and rearranging memory, and Edsgar Dijkstra doesn't like it
(Dijkstra, as I'm sure you know, was the author of "GoTos Considered
Harmful" - a landmark work in programming methodology). Besides, the
determined Real Programmer can write FORTRAN programs in any language.

The Real Programmer might compromise his principles and work on some-
thing slightly more trivial than the destruction of life as we know it,
providing there's enough money in it. There are several Real Programmers
building video games at Atari, for example. (But not playing them - a
Real Programmer knows how to beat the machine every time: no challenge
in that.) The proportion of Real Programmers in Computer Graphics is
somewhat lower than the norm, mostly because nobody has found a use for
computer graphics yet. On the other hand, all computer graphics is done
in FORTRAN, so there are a fair number of people doing graphics in order
to avoid having to write in COBOL.



THE REAL PROGRAMMER'S NATURAL HABITAT
_____________________________________


The typical Real Programmer lives in front of a computer terminal. Sur-
rounding this terminal are:

o Listings of all programs the Real Programmer has ever worked on,
piled in roughly chronological order on every flat surface.
o Some half-dozen or so partly filled cups of cold coffee. Occa-
sionally, there will be cigarette butts floating in the coffee. In
some cases, the cups will contain Orange Crush.
o Unless he is very good, there will be copies of the OS JCL manual
and the Principles of Operation open to some particularly interest-
ing pages.
o Taped to the wall is a line-printer Snoopy calender for the year
1969.
o In the drawer is a flowcharting template, left there by the previous
occupant of the office. (Real Programmers write programs, not doc-
umentation. Leave that to the maintenance people.)

The Real Programmer is capable of working 30, 40, even 50 hours at a
stretch, under intense pressure. In fact, he prefers it that way. Bad
response time doesn't bother him - it gives him a chance to catch a lit-
tle sleep between compiles. If there is not enough schedule pressure on
the Real Programmer, he tends to make things more challenging by working
on some small but interesting part of the problem for the first nine
weeks, then finishing the rest in the last week, in two or three 50-hour
marathons. This not only impresses his manager, who was despairing of
ever getting the project done on time, but creates a convenient excuse
for not doing the documentation. In general:

o No Real Programmer works 9 to 5 (unless it's the ones at night).
o Real Programmers don't wear neckties.
o Real Programmers don't wear high-heeled shoes.
o Real Programmers arrive at work in time for lunch.
o A Real Programmer might or might not know his wife's name. He does,
however, know the entire ASCII (or EBCDIC) code table.



THE FUTURE
__________


It is a matter of some concern to Real Programmers that the latest gen-
eration of computer programmers are not being brought up with the same
outlook on life as their elders. Many of them have never seen a computer
with a front panel. Hardly anyone graduating from school these days can
do hex arithmetic without a calculator. College graduates these days are
soft - protected from the realities of programming by source level
debuggers, text editors that count parentheses, and "user friendly"
operating systems. Worst of all, some of these alleged "computer scien-
tists" manage to get degrees without ever learning FORTRAN] Are we des-
tined to become an industry of Unix hackers and PASCAL programmers?

From my experience, I can only report that the future is bright for Real
Programmers everywhere. Neither OS/370 nor FORTRAN show any signs of
dying out, despite all the efforts of PASCAL programmers the world over.
Even more subtle tricks, like adding structured coding constructs to
FORTRAN have failed. Oh sure, some computer vendors have come out with
FORTRAN 77 compilers, but every one of them has a way of converting
itself back into a FORTRAN 66 compiler at the drop of an option card -
to compile DO loops like God meant them to be.

Even Unix might not be as bad on Real Programmers as it once was. The
latest release of Unix has the potential of an operating system worthy
of any Real Programmer - two different and subtly incompatible user
interfaces, an arcane and complicated teletype driver, virtual memory.
If you ignore the fact that it's "structured", even 'C' programming can
be appreciated by the Real Programmer: after all, there's no type check-
ing, variable names are seven (ten?, eight?) characters long, and the
added bonus of the Pointer data type is thrown in - like having the best
parts of FORTRAN and assembly language in one place.

No, the future isn't all that bad. Why, in the past few years, the popu-
lar press has even commented on the bright new crop of computer nerds
and hackers leaving places like Stanford and M.I.T. for the Real World.
From all evidence, the spirit of Real Programming lives on in these
young men and women. As long as there are ill-defined goals, bizarre
bugs, and unrealistic schedules, there will be Real Programmers willing
to jump in and Solve the Problem, saving the documentation for later.
Long live FORTRAN!

Annon. (abridged version by John Wilson and SonOfMotorola)


TILBAGE