home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!spool.mu.edu!agate!agate.berkeley.edu!dodd
- From: dodd@mycenae.cchem.berkeley.edu (Lawrence R. Dodd)
- Newsgroups: comp.lang.fortran
- Subject: Re: Real Programmers
- Message-ID: <DODD.92Dec16060307@mycenae.cchem.berkeley.edu>
- Date: 16 Dec 92 14:03:07 GMT
- References: <1992Dec15.170343.10342@craycos.com>
- <DODD.92Dec15142737@mycenae.cchem.berkeley.edu> <gay.724466320@sfu.ca>
- <1992Dec16.025109.24541@coe.montana.edu>
- Organization: Dept of Chemical Engineering, Polytechnic Univ, NY, USA
- Lines: 38
- NNTP-Posting-Host: mycenae.cchem.berkeley.edu
- In-reply-to: uesu03@giac1.oscs.montana.edu's message of Wed, 16 Dec 1992 02:51:09 GMT
-
-
- >>>>> "Lou" == Lou Glassy <uesu03@giac1.oscs.montana.edu> writes:
-
- Lou> Various attributions barbarously deleted to save space:
-
- Lou> !>> Doctor> 101 Format (100 (' :-)'), /, ' For the Humor-impared.')
- Lou> !>> Doctor> Write (Kout, 101)
- Lou> !>>
- Lou> !>> line 2: Error: attempt to use undefined variable "kout"
- Lou> !>> line 2: Error: bad unit specifier type in write statement
- Lou> !>> Compilation failed
- Lou> !
- Lou> !> James> Real FORTRAN programmers always write to unit 6, and then bitch about
- Lou> !> James> the compiler being broken when it doesn't work. write(*,101) is for
- Lou> !> James> sissies :-)
- Lou> !
- Lou> !> [no, REAL PROGRAMMERS code like this...]
- Lou> !
- Lou> !> 85367 FORMAT(100(':-)')/'FOR THE HUMOR-IMPARED.')
- Lou> !> WRITE(6,85367)
- Lou> !
- Lou> ![and Ian adds: "Don't real programmers say 3H:-) etc?"]
-
- Lou> Ugh! That explains it! Hollerith Constants! Last year, an instructor
- Lou> handed out a small numeric code that followed all of the qualities
- Lou> listed by {Doctor FORTRAN| James|Laurence|Ian}. No unnecessary spaces
- Lou> or commas, all caps, 98.7% of variables were 2 or 3 characters in
- Lou> length, and a whopping 5 comments in about 1500 lines of source.
- Lou> Blecch! He did with things with EQUIVALENCE no maintenance programmer
- Lou> would repeat in polite company...
-
- sounds like my kinda code. were the comments along the lines of "FIND X AND
- OTHER QUANTITIES?" or "THE CODE IS TOO COMPLICATED TO EXPLAIN?"
-
- so are we agreed that the final version would be the following?
-
- 85367 FORMAT(100(3H:-))/22HFOR THE HUMOR-IMPARED.)
- WRITE(6,85367)
-