home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / edu / 1332 < prev    next >
Encoding:
Internet Message Format  |  1992-08-25  |  1.4 KB

  1. Xref: sparky comp.edu:1332 comp.lang.fortran:3158
  2. Path: sparky!uunet!gatech!rpi!uwm.edu!ogicse!mintaka.lcs.mit.edu!ai-lab!life.ai.mit.edu!burley
  3. From: burley@geech.gnu.ai.mit.edu (Craig Burley)
  4. Newsgroups: comp.edu,comp.lang.fortran
  5. Subject: Re: Small Language Wanted
  6. Message-ID: <BURLEY.92Aug25164419@geech.gnu.ai.mit.edu>
  7. Date: 25 Aug 92 20:44:19 GMT
  8. Article-I.D.: geech.BURLEY.92Aug25164419
  9. References: <1992Aug25.095623.18808@news.Hawaii.Edu>
  10. Sender: news@ai.mit.edu
  11. Followup-To: comp.edu
  12. Organization: Free Software Foundation 545 Tech Square Cambridge, MA 02139
  13. Lines: 14
  14. In-reply-to: tholen@galileo.ifa.hawaii.edu's message of 25 Aug 92 09:56:23 GMT
  15.  
  16. Presumably people complaining about Fortran's "computed GOTOs" really mean
  17. _assigned_ GOTOs, right?  I mean, computed GOTOs are fairly easy to figure
  18. out; they're just a SELECT CASE with automatic "GOTO label" filled in for
  19. each case from 1 to N.  Assigned GOTOs, on the other hand, as in "GOTO I",
  20. are really bizarre and hard to read and maintain, and often are used to
  21. implement "inline subroutines" and the like.
  22.  
  23. Given SELECT CASE in F90, one doesn't really need computed GOTOs, but they
  24. aren't really bad for readability.  But assigned GOTOs are really a pain
  25. for everone, programmer and implementer both!
  26. --
  27.  
  28. James Craig Burley, Software Craftsperson    burley@gnu.ai.mit.edu
  29. Member of the League for Programming Freedom (LPF)
  30.