Article View: comp.lang.prolog
Article #1523Re: Writing portable code.
From: Stephen J Bevan
Date: Wed, 30 Sep 1992 08:02
Date: Wed, 30 Sep 1992 08:02
30 lines
1803 bytes
1803 bytes
In article <ALBERTO.92Sep29141859@karna.cs.umd.edu> alberto@cs.umd.edu (Jose Alberto Fernandez R) writes: [ example of a preprocessor written in Prolog deleted ] As I said in my previous message, the problem with this is that you are mixing your declarative program, with the declaratios of how the code must be process in a particular installation. You consider it a problem, I consider it an advantage. I don't like that, I believe that the programmer should be able to clearly distinguish between the two. I prefer that one language be used wherever possible. That facilitates the portability of software to different architectures. So does using the same language for both tasks. When all said and done, you prefer the separate language approach and I prefer the single language approach (preferably using partial evaluation). I'm not out to convince anyone that the single language approach is best and am willing to be convinced by the other side of the argument, however I've yet to see a technical argument for it (i.e. something other than "I don't like ..."). Is there a technical argument of any sort or is this a purely subjective issue? bevan
Technical Details
Message-ID:
<BEVAN.92Sep30090243@tiger.cs.man.ac.uk>Path:
arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!mucs!m1!bevanReferences:
<1a3srjINNsgm@darkstar.UCSC.EDU> <ALBERTO.92Sep28113506@karna.cs.umd.edu> <14758@goanna.cs.rmit.oz.au> <ALBERTO.92Sep29141859@karna.cs.umd.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!mcsun!uknet!mucs!m1!bevan From: bevan@cs.man.ac.uk (Stephen J Bevan) Newsgroups: comp.lang.prolog Subject: Re: Writing portable code. Message-ID: <BEVAN.92Sep30090243@tiger.cs.man.ac.uk> Date: 30 Sep 92 08:02:43 GMT References: <1a3srjINNsgm@darkstar.UCSC.EDU> <ALBERTO.92Sep28113506@karna.cs.umd.edu> <14758@goanna.cs.rmit.oz.au> <ALBERTO.92Sep29141859@karna.cs.umd.edu> Sender: news@cs.man.ac.uk Organization: Department of Computer Science, University of Manchester Lines: 30 In-reply-to: alberto@cs.umd.edu's message of 29 Sep 92 18:18:59 GMT