home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / os2 / advocacy / 12036 < prev    next >
Encoding:
Internet Message Format  |  1993-01-10  |  3.4 KB

  1. Path: sparky!uunet!spool.mu.edu!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!convex!news.utdallas.edu!tamsun.tamu.edu!bdubbs
  2. From: bdubbs@cs.tamu.edu (Bruce Dubbs)
  3. Newsgroups: comp.os.os2.advocacy
  4. Subject: Re: A radical idea
  5. Date: 10 Jan 1993 21:45:39 GMT
  6. Organization: Computer Science Department, Texas A&M University
  7. Lines: 75
  8. Message-ID: <1iq5e4INNm3k@tamsun.tamu.edu>
  9. References: <726685274.AA00000@blkcat.UUCP>
  10. NNTP-Posting-Host: neuron.tamu.edu
  11.  
  12. In article <726685274.AA00000@blkcat.UUCP> Kurt.Westerfeld@f347.n109.z1.fidonet.org (Kurt Westerfeld) writes:
  13. |RA> out there hear this:  Goverment can produce GREAT software-- 
  14. |RA> ADA is far superior 
  15. |RA> to any bastard hack like C or C++ that AT&T (a private  
  16. |RA> industry) ever developed! 
  17. |I have NO experience with ADA; however, my experience with other 
  18. |seasoned programmers from the DC area is that ADA is much like the 
  19. |United States government, in that it is a large language that takes you 
  20. |a long time in to get something done.  Does this statement hold any 
  21. |truth? 
  22.  
  23. Not very much.  First a minor point.  Ada is named for Lady Ada
  24. Lovelace, assistant to Charles Babbage and generally thought of as the
  25. first programmer.  Ada therefore is a name not an acronym.  ADA (all
  26. caps) is inappropriate.
  27.  
  28. Ada is a procedural language.  As such, it has the three major
  29. constructs of all procedural languages: sequence, looping, and
  30. selection.  Function and subroutine call are essentially the same as
  31. in FORTRAN, C, Pascal, and PL/I.
  32.  
  33. The problems a lot of people have is that it has very strong typing.
  34. In other words, a character is a character and not as number.  For
  35. instance, the equivalent to the C code:
  36.  
  37.   char c;
  38.   c = 'a';
  39.   c = c + 1;
  40.  
  41. is not permitted in Ada.  You can't mix numeric and character
  42. operations. 
  43.  
  44. The purpose behind this is to attempt to make the programmer say what
  45. is intended and not use intrinsic characteristics that underlie less
  46. strict languages.
  47.  
  48. In providing the checks on the programmer, Ada compilers have to do a
  49. lot of checking that other compilers do not.  This makes Ada compilers
  50. slower than other language compilers.  Additionally, there are run
  51. time checks that add code and make executables larger and slower than
  52. other language equivalents.  These issues are getting better as the
  53. compilers mature, but still are generally slower than the equivalent C
  54. compiler.  
  55.  
  56. The main issues, however, are not how difficult things are made for
  57. the programmer, but how reliable the software is and how well the
  58. intentions of the original programmer are communicated to the
  59. maintainer. 
  60.  
  61. |ADA also happens to be designed by committee.  I know for a fact that 
  62. |this NEVER works with software.  The best software is developed by lone 
  63. |wolf or small teams. 
  64.  
  65. But a lone wolf or a small team cannot produce a 10 million line set
  66. of programs as some large government programs are.  Usually these
  67. types of programs are embedded in hardware with real-time
  68. impilcations.  Software process paradigms that work for small or
  69. medium programs do not scale up well to large or very large software
  70. efforts. 
  71.  
  72. |I'd just like to hear some thoughts on this issue. 
  73.  
  74. I have heard that the government has contracted with the Free Software
  75. Foundation to produce GNU Ada.  If true, I believe Ada will become a
  76. lot more popular than it is.
  77.  
  78.    -- Bruce
  79.  
  80.  
  81. --
  82. Bruce Dubbs                   |  Oxymorons of note:
  83. bdubbs@neuron.tamu.edu        |  Honest Politician, Political Science,
  84.                               |  Scrupulous Lawyer
  85.