cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] typedef void CURL - compiler typechecking

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 19 Mar 2007 22:46:16 +0100 (CET)

On Mon, 19 Mar 2007, Matthew Veenstra wrote:

> My personal opinion here is that you should not worry about exposing
> hints at the internal structure. I don't think we need to go out of our way
> to hide the structure of the internal data. It is the users problem, if
> they abuse this data. If they hack this and it breaks in the future it will
> be a good lesson for them.

In general I agree with this line of thinking, but I've learned that sometimes
this approach backfires: if it allows people to too easily do wrong as then
they come asking, complaining and reporting bugs to us and we will have to
spend time to deal with it, over and over again.

So, I think it really is worth the effort to really consider this issue an
extra time before rushing ahead.

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2007-03-19