RE: A89: Library question


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

RE: A89: Library question



WHat happened if there was a set of programs you were writing? such as 8 different games? but they all called the same high score function. now what? each game you create, you incorporate into each program? sorry...
-----Original Message-----
From: owner-assembly-89@lists.ticalc.org [mailto:owner-assembly-89@lists.ticalc.org]On Behalf Of Dave Twaddell
Sent: Saturday, November 14, 1998 11:46 AM
To: assembly-89@lists.ticalc.org
Subject: Re: A89: Library question

I think it would be best if the libraries carried the most commonly used, repetitive functions.  That way, when a programmer wanted to have an additional function, he should just throw a routine into his own program instead of the library.

~Dave <the_regul8r@bigfoot.com>

Dennis Ng wrote:

not a good idea!

the whole point of a library is to conserve memory! Every program uses a
library to execute repetitive tasks. Say everyone had one big library. But
then, I just developed a new program that draws 3D graphics. Then, it would
be crazy to put those functions into a big library if they are never
referenced.

Then you will have many requests to make the library bigger because some
programmer needs to call a repetitive function from many programs. Then
you'll have around 1200 versions every time someone adds their own function
to the library.


References: