> Hello!~
>
> To make a program or some classes / functions better reuseable (or
> other people can easily build their code on them), what are the major
> points to pay attention to? Any "fast cooking list and recipe" for it?
- A welldocumented interface
- Default settings that work, so that you do not have to call numerous
"set..." functions to make it work with the simplest task
- Code examples on how to make it work
Niels Dybdahl
Deeva Tatiana - 31 Mar 2006 08:07 GMT
+1
And remember: other programmers (which want to re-use Your classes or
libraries), can make mistakes (and You too, of course)!
So, try to make Your classes and libraries "foolproof" as much as possible.

Signature
Best regards,
Jana.
> > Hello!~
> >
[quoted text clipped - 8 lines]
>
> Niels Dybdahl
Wibble - 31 Mar 2006 13:03 GMT
> +1
>
> And remember: other programmers (which want to re-use Your classes or
> libraries), can make mistakes (and You too, of course)!
>
> So, try to make Your classes and libraries "foolproof" as much as possible.
Don't spend alot of time making something reusable
that wont really ever be reused. It make take
alot less time to refactor the small amount of
code to be resused than to make everything reusable.