home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / volume.29 / text0008.txt < prev    next >
Encoding:
Text File  |  1992-12-26  |  1.1 KB  |  33 lines

  1. Submitted-by: brnstnd@KRAMDEN.ACF.NYU.EDU (D. J. Bernstein)
  2.  
  3. Markus Kuhn writes:
  4. >   - In this way, every UNIX tool (cc, cat, ...) can easily determine,
  5. >     how the file has to be interpreted,
  6.  
  7. Interfaces should be _small_. By definition a small interface has simple
  8. semantics. Simple semantics leave no room for bugs. A small interface is
  9. programmer-friendly.
  10.  
  11. Version 7 UNIX had small interfaces. The kernel's system call interface
  12. was small: just a few dozen calls with semantics defined in a few pages.
  13. Each utility's external interface was small: there were almost no
  14. conventions weighing things down. Even the internal interfaces were
  15. small: most tools used mere pages of code.
  16.  
  17. File types infect practically every program on the system. Witness VMS.
  18. Every program's semantics has to include its treatment of file types.
  19. This means that the total interface size of the system becomes much,
  20. much, much larger.
  21.  
  22. Need I say more?
  23.  
  24. Followups to alt.religion.computers.
  25.  
  26. ---Dan
  27.  
  28. [ I did set Followups to alt.religion.computers, but only because Dan
  29.   wanted it. -- mod ]
  30.  
  31. Volume-Number: Volume 29, Number 9
  32.  
  33.