[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] [patch] remove the initial check on directory exista
From: |
Peter Bex |
Subject: |
Re: [Chicken-users] [patch] remove the initial check on directory existance |
Date: |
Sun, 3 Feb 2013 11:42:04 +0100 |
User-agent: |
Mutt/1.4.2.3i |
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] [patch] remove the initial check on directory existance, richo, 2013/02/02
- Re: [Chicken-users] [patch] remove the initial check on directory existance, Peter Bex, 2013/02/02
- Re: [Chicken-users] [patch] remove the initial check on directory existance, Mario Domenech Goulart, 2013/02/02
- Re: [Chicken-users] [patch] remove the initial check on directory existance, Jim Ursetto, 2013/02/02
- Re: [Chicken-users] [patch] remove the initial check on directory existance, richo, 2013/02/03
- Re: [Chicken-users] [patch] remove the initial check on directory existance,
Peter Bex <=
- Re: [Chicken-users] [patch] remove the initial check on directory existance, richo, 2013/02/03
- Re: [Chicken-users] [patch] remove the initial check on directory existance, John Cowan, 2013/02/03
- Re: [Chicken-users] [patch] remove the initial check on directory existance, Peter Bex, 2013/02/03
- Re: [Chicken-users] [patch] remove the initial check on directory existance, John Cowan, 2013/02/03
- Re: [Chicken-users] [patch] remove the initial check on directory existance, Jim Ursetto, 2013/02/03
- Re: [Chicken-users] [patch] remove the initial check on directory existance, Felix, 2013/02/03
- Re: [Chicken-users] [patch] remove the initial check on directory existance, Felix, 2013/02/03