home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / lang / prolog / 2420 < prev    next >
Encoding:
Text File  |  1993-01-21  |  1.3 KB  |  32 lines

  1. Newsgroups: comp.lang.prolog
  2. Path: sparky!uunet!spool.mu.edu!agate!boulder!boulder!citrin
  3. From: citrin@boulder.Colorado.EDU (Wayne Citrin)
  4. Subject: Re: Help !!
  5. Message-ID: <1993Jan21.223806.19004@colorado.edu>
  6. Sender: news@colorado.edu (The Daily Planet)
  7. Nntp-Posting-Host: soglio.colorado.edu
  8. Organization: University of Colorado, Boulder
  9. References: <lenn.726916615@du9ds4> <j_hamer-210193105028@john-ha.cs.aukuni.ac.nz> <93021.154835U35395@uicvm.uic.edu>
  10. Date: Thu, 21 Jan 1993 22:38:06 GMT
  11. Lines: 19
  12.  
  13. In article <93021.154835U35395@uicvm.uic.edu> C. M. Sperberg-McQueen <U35395@uicvm.uic.edu> writes:
  14. >Sufficient unto the day is the
  15. >evil thereof; why should I worry about trivial 'inefficiencies' like
  16. >those you see in Heiner's code, until they are making my work
  17. >unacceptably slow?
  18. >
  19.  
  20. Because some of us do write large Prolog programs that depend on efficiency,
  21. and it's better to instill good programming habits from the beginning than to
  22. overcome bad programming practice later on.  Besides, I don't believe that
  23. Heiner's program is any cleaner: why should the largest item encountered so
  24. far be placed at the beginning of the list at the next iteration?  That seems
  25. entirely artificial.  Why _not_ keep the largest value seen so far as a 
  26. separate quantity?
  27.  
  28. Wayne
  29.  
  30. -----------
  31. Wayne Citrin   citrin@soglio.colorado.edu   citrin@cs.colorado.edu
  32.