home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / std / unix / 397 < prev    next >
Encoding:
Internet Message Format  |  1992-08-23  |  1.5 KB

  1. Path: sparky!uunet!uunet!not-for-mail
  2. From: brnstnd@KRAMDEN.ACF.NYU.EDU (D. J. Bernstein)
  3. Newsgroups: comp.std.unix
  4. Subject: Re: ISO 10646 files
  5. Followup-To: alt.religion.computers
  6. Date: 23 Aug 1992 14:18:57 -0700
  7. Organization: IR
  8. Lines: 31
  9. Sender: sef@ftp.UU.NET
  10. Approved: sef@ftp.uucp (Moderator, Sean Eric Fagan)
  11. Message-ID: <178vc1INN5pm@ftp.UU.NET>
  12. References: <16p6bmINNs1l@ftp.UU.NET>
  13. NNTP-Posting-Host: ftp.uu.net
  14. X-Submissions: std-unix@uunet.uu.net
  15.  
  16. Submitted-by: brnstnd@KRAMDEN.ACF.NYU.EDU (D. J. Bernstein)
  17.  
  18. Markus Kuhn writes:
  19. >   - In this way, every UNIX tool (cc, cat, ...) can easily determine,
  20. >     how the file has to be interpreted,
  21.  
  22. Interfaces should be _small_. By definition a small interface has simple
  23. semantics. Simple semantics leave no room for bugs. A small interface is
  24. programmer-friendly.
  25.  
  26. Version 7 UNIX had small interfaces. The kernel's system call interface
  27. was small: just a few dozen calls with semantics defined in a few pages.
  28. Each utility's external interface was small: there were almost no
  29. conventions weighing things down. Even the internal interfaces were
  30. small: most tools used mere pages of code.
  31.  
  32. File types infect practically every program on the system. Witness VMS.
  33. Every program's semantics has to include its treatment of file types.
  34. This means that the total interface size of the system becomes much,
  35. much, much larger.
  36.  
  37. Need I say more?
  38.  
  39. Followups to alt.religion.computers.
  40.  
  41. ---Dan
  42.  
  43. [ I did set Followups to alt.religion.computers, but only because Dan
  44.   wanted it. -- mod ]
  45.  
  46. Volume-Number: Volume 29, Number 9
  47.