[net.unix] Unix source code readability

bsa@ncoast.UUCP (Brandon Allbery) (06/16/85)

Expires:

Consider that various Unices were written by (1) grad students or (2)
people who REALLY DIDN'T INTEND that the code become public (SysV is a
modified SysIII which is a modified V7, the code is probably largely
identical).

I could show you readable code, but anyone who thinks Ada is THE answer
probably has too much of a bias -- he would not even try.  (I dislike
most C-isms, so my code is fairly clean and lacking in most
non-intuitive constructs such as ``x = 5, y = 3;'' and the use of &&
such that (x && y) doesn't evaluate y if x is false.)

(BTW, Ada is too big.  Did nobody learn the lesson of PL/I?  Tasking
BUILT INTO THE LANGUAGE, when it's not an object-type language!?  I
fully expect problems on that one. . .)

--bsa
-- 
Brandon Allbery, Unix Consultant -- 6504 Chestnut Road, Independence, OH 44131
decvax!cwruecmp!ncoast!bsa; ncoast!bsa@case.csnet; +1 216 524 1416; 74106,1032
========================> Trekkies have Warped minds. <=======================

rlk@wlcrjs.UUCP (Richard L. Klappal) (06/21/85)

Take a look at subset G of pl/i.  I haven't seen cleaner code
in any language, even if DRI did leave out some very handy parts
of subset G.



Richard Klappal

UUCP:		..!ihnp4!wlcrjs!uklpl!rlk  | "Money is truthful.  If a man
MCIMail:	rklappal		   | speaks of his honor, make him
Compuserve:	74106,1021		   | pay cash."
USPS:		1 S 299 Danby Street	   | 
		Villa Park IL 60181	   |	Lazarus Long 
TEL:		(312) 620-4988		   |	    (aka R. Heinlein)
-------------------------------------------------------------------------