🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.modula2
Article #1537

multiple implementations

#1537
From: "I. LOVTUSKI"
Date: Sat, 10 Oct 1992 03:28
16 lines
1228 bytes
Does anyone know of any good techniques for managing multiple implementation
modules?  A trivial example is for a Stack to have an array implementation
and a linked list implementation.   How do you name your files and how do
you specify which to use when rebuilding the program?  I'm looking for
a technique that will scale up to allow several modules each with several
implementations in the same program, with miminal programmer interaction,
other than specifying which implementation to use.  Ideally this should work
with some kind of 'make' program, so that the minimum amount of work is done
to rebuild a program.

This has caused me some mild fits, and I'm curious how other people handle
the situation.

John Cigas
Rockhurst College
cigas@rckhrst1.bitnet
Technical Details
Message-ID: <01GPRDWLKI6Q0004IE@RCKHRST1.BITNET>
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!linac!att!ucbvax!RCKHRST1.BITNET!CIGAS

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!uwm.edu!linac!att!ucbvax!RCKHRST1.BITNET!CIGAS
From: CIGAS@RCKHRST1.BITNET ("I. LOVTUSKI")
Newsgroups: comp.lang.modula2
Subject: multiple implementations
Message-ID: <01GPRDWLKI6Q0004IE@RCKHRST1.BITNET>
Date: 10 Oct 92 03:28:54 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Reply-To: Modula2 List <INFO-M2%UCF1VM.BITNET@cmsa.Berkeley.EDU>
Distribution: world
Organization: The Internet
Lines: 16