Re: A85: Why even use libraries?


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

Re: A85: Why even use libraries?



VRWhitt@aol.com wrote:
> 
> Why not just use all of the routines you would call from some generic
> library, and put them at the end of your program like a subroutine?  It would
> allow you to modify the routine for whatever way you wanted it to do, and
> only waste space if two programs use the exact same routine.  This might
> happen fairly frequently, but with the amount of space on the calculator, you
> can only hold so many games, so even if libraries would save you 300 bytes,
> have you ever heard of a 300 byte game that was worth anything?

Why use libraries?
Because
A) It is easier to type	LIB_CALL_(LIB,Func) than to cut and paste a whole 
bunch of code.
B) Because some people might want to make libraries but are unwilling to 
release source code to algorithms that they write.

Of course, if you are a programmer than you are free to not use libraries. 
Programmers must like libs because if they didn't, no one would use them in 
their programs, and consequently no one would have libs on their calc.

-- 
Terry Peng
email-	tpeng@geocities.com
web-	http://www.geocities.com/SiliconValley/Bay/5104/index.html


References: