|
From: Mikoláš J. <mik...@gm...> - 2009-07-16 15:33:09
|
On Thu, Jul 16, 2009 at 4:13 PM, Radu Grigore<rad...@gm...> wrote: > On Mon, Jul 13, 2009 at 8:52 PM, Mikoláš Janota<mik...@gm...> wrote: >> I know we can do allowarg=false, but I don't like that solution that much. > > Don't we need allowarg=false to match how svn and gzip behave anyway? > Which reminds me that you were saying something about global defaults. > It is true that we need this if we want to model svn's etc. behavior. In general, I don't like the assymetricity of false and true (i.e. user being able to set things to true, but not to false). Another thing is that you can have similar interactions between options of non-boolean values, e.g. the verbosity in gzip is 0..3. I think there should be a general guideline/syntactic sugar that tells you how to handle these things (boolean or not). Global defaults would be useful, I think.(the properties resemble command line options more and more :) ). --m. -- Mikoláš Janota M. Sc. School of Computer Science and Informatics, University College Dublin, Belfield, Dublin 4, Ireland |