cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: "The Most Dangerous Code in the World"

From: Hendrik Visage <hvjunk_at_gmail.com>
Date: Thu, 25 Oct 2012 07:22:25 +0200

On Thu, Oct 25, 2012 at 6:48 AM, Alan Wolfe <alan.wolfe_at_gmail.com> wrote:
> Playing devil's advocate... well engineered code makes it harder, or
> impossible to do the wrong thing, by accident or on purpose.

THAT depends on lots of stuff whether the rope should be long or
short. By taking away options, you make it a "black box" that people
will need to bypass/custom patch.
The correctly designed software/libraries will give you what is needed,

> For instance, well named enums and enum values instead of "magic numbers"
> are always better for function parameters.

GRanted.

> That being said... I use libcurl quite a bit and love the fact that it's
> there when i need it on virtually every platform out there (:

;)
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2012-10-25