Warp wrote:
> This is one thing I have always disagreed with (and I have to always
> fix this by myself).
> A library should always be usable just as it is (ie. just by
> including it
> and period). If the library depends on another library, it should
> include it internally.
> It's extremely user-unfriendly and illogical that the user must know
> which
> libraries depend on which other libraries and in which order he should
> include them in order to make them work.
I agree.
> If you are worried about parsing speed, just enclose the #include
> statement
> in a proper #ifdef block (the one that is defined inside colors.inc).
That won't work. POV-Ray has to read the whole include file because the
#endif could be in the include file (it's not like C++).
Btw, could you correct your line length to 72? The quoted text isn't
very well readable.
--
Felix Wiemann
Post a reply to this message
|