[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#108171: Unsure how to wash my pants



On Tue, Aug 21, 2001 at 10:59:54AM -0400, Bob Billson wrote:
> On Tue, Aug 21, 2001 at 10:37:29AM -0400, Mike Dresser wrote:
> > I think we need a libnylon, libleather, libpolyester, libcotton, etc..
> > 
> > Oh, and a libcotton, would rely on a libcottonpress, no?
> 
> Oh my, we are getting into a Windoze-type DLL hell now.  How about a simplier
> library such as libcloth?  It can have the appropriate API for each type.  By
> making the library extensible other types like silk, linen, rayon, etc. can
> easily be added.  

 FYI, DLL well you be if  jacket  had   depend: leather (=1.0), and
dungeons-and-dragons-armor  had  depend: leather (=2.0)   (need
version 2 for hard leather armor :).  Then the packages would
needlessly conflict, because both versions of leather couldn't be
installed at once.  (because some lamer created libraries with
different APIs, but the same name, so they can't both be installed
simultaneously.)  DLL hell is when stuff conflicts because of
dependencies on different versions of the same library that can't both
be installed at the same time.

 (This is what I gather from reading about it.  I haven't used windows
enough to run into any DLL hell problems.)

> I suppose it have cleaning instructions as part of it (dry clean, cold
> water only, etc.) or these be better in a separate libwash?

 We obviously need to design an object-oriented framework to handle
the similarities and differences of the myriad items of clothing in
existence!  We need fabrics classes and we need topology classes.  A
t-shirt, for example, has a neck hole, two arm holes, and a torso
hole...  

 Fabric objects have pointers to cleaner classes.  The cleaner classes
have two basic types: normal, and dry clean.  Different types of
normal washing inherit from the basic water and soap classes.

 Anyway, that should be enough to get us going for now :)

-- 
#define X(x,y) x##y
Peter Cordes ;  e-mail: X(peter@llama.nslug. , ns.ca)

"The gods confound the man who first found out how to distinguish the hours!
 Confound him, too, who in this place set up a sundial, to cut and hack
 my day so wretchedly into small pieces!" -- Plautus, 200 BCE



Reply to: