From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,45b50f14dadfce5b X-Google-Attributes: gid1164f8,public X-Google-Thread: 102b75,45b50f14dadfce5b X-Google-Attributes: gid102b75,public X-Google-Thread: 110292,45b50f14dadfce5b X-Google-Attributes: gid110292,public From: torbenm@diku.dk (Torben AEgidius Mogensen) Subject: Re: Final kick at the "Merced Guessing Game" Date: 1997/10/10 Message-ID: <61lhir$dgj@vidar.diku.dk>#1/1 X-Deja-AN: 279234710 Distribution: inet Sender: torbenm@thor.diku.dk References: <612k6f$i79@news-rocq.inria.fr> <61dlkg$b8e$1@newnews.microware.com> <343AAE5A.A3FCC9D@no.informatik.spam.tu-muenchen.thanks.de> <61i74j$8b1@vidar.diku.dk> Organization: Department of Computer Science, U of Copenhagen Newsgroups: comp.sys.intel,comp.arch,comp.sys.dec brianh@bit3.com writes: >In article <61i74j$8b1@vidar.diku.dk>, >Torben AEgidius Mogensen wrote: >> >>Actually, I think the metaphorical meteor will be something else. As >>has been noted earlier in this thread, there is a limit to how much >>high-level languages can give you: You still have to tell the computer >>exactly what you want done, and there is no way this description can >>be arbitrarily shortened. >It depends upon how abstract you want to get. Inverting a matrix (to pick >a particularlly well trod example) is ~100 lines of C code, or a couple >hundred to a few thousand lines of assembler, or simply a call to >invert_matrix(). Just calling a library function like invert_matrix() only helps you if it is already there. If you want to do something new, then you must write it yourself, and there is a limit to how short you can do this. Libraries rely on the assumption that you rarely want to do something new, and as long as this is true (and the libraries are not so huge that it would be faster to write it yourself instead of searching the libraries), it is fine. But This is not always so. >>The trend today seems to try to reduce the programming effort by >>providing HUGE libraries and hope that these will cover the majority >>of what programs need. This can make some programs be quite short, but >>if what you want isn't in the library, then you are out of luck. >>Furthermore, this trend makes it take a long time to use a language >>well, as most of the effort is taken by learning the libraries. Even >>experienced programmers spend a major fraction of the programming time >>reading manuals or searching in libraries. I think this trend will die >>under its own weight. Libraries are not bad in themselves, but they >>shouldn't dominate. >Okay, first off, I don't beleive in manualless programming. Even for a >small, simple language like C I keep both K&R and two books on the standard >libraries within arms reach when I program, and hot-keyed help on my >computer (or man, if I'm on Unix). I don't object to manuals, I use them too. However, if you use more time to read manuals than you do on design, then something is wrong. Torben Mogensen (torbenm@diku.dk)