Marc Nieper-Wißkirchen wrote:
> It would also be nice to have a public function that does xsd_copy
> (sd_new_addr (len, addr)) (and also a non-x version of that).

There's a trade-off when adding "nice" but redundant functions to
an API: It makes the programmer's learning curve longer, and it also
increases the code size.

I tried to keep the API reasonably small.

The C++ way of doing things — add all methods which come to mind as
being potentially useful to someone at some point — makes me sick.
(This is one of the things that C# does better than C++, IIRC.)

Bruno




Reply via email to