On Sun, Feb 03, 2013 at 06:42:55PM +1100, richo wrote:
> 3) expose a new function that raises errors if the directory exists so that
> an atomic mkdir is available. My thought is to just name it mkdir, but I'm
> not sure where it belongs.

Please don't do that.  This sort of "design" leads to
mysql_real_escape_string.  It's confusing to the user, and ugly to
have several differently named procedures that do almost exactly
the same thing but with slight differences in behavior.

Better to either keep it the way it is, change the semantics and
breaking compat (so be it), or convert to keyword args and make it an
optional feature (my least favorite alternative).

Cheers,
Peter
-- 
http://sjamaan.ath.cx

_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to