[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] "throw usage(); " or "N(); " for argument checking?
From: |
Markus Wanner |
Subject: |
Re: [Monotone-devel] "throw usage(); " or "N(); " for argument checking? |
Date: |
Sun, 04 Jan 2009 19:12:32 +0100 |
User-agent: |
Mozilla-Thunderbird 2.0.0.19 (X11/20090103) |
Hi,
LeJacq, Jean Pierre wrote:
> Two considerations:
>
> 1. N() can always be modified to provide an alternate implementation,
> though I acknowledge that changing from throw semantics
> would be problematic. For example, adding logging before the throw.
Isn't this exactly what Timothy proposes? Clearer separation of the two.
> 2. N() is not the best choice for handling this to begin with.
Agreed. Timothy proposed using "throw usage();" instead, which is
according to these two requests, AFAICT.
Regards
Markus Wanner
- [Monotone-devel] "throw usage();" or "N();" for argument checking?, Timothy Brownawell, 2009/01/03
- Re: [Monotone-devel] "throw usage(); " or "N(); " for argument checking?, Thomas Keller, 2009/01/03
- Re: [Monotone-devel] "throw usage(); " or "N(); " for argument checking?, LeJacq, Jean Pierre, 2009/01/04
- Re: [Monotone-devel] "throw usage(); " or "N(); " for argument checking?, Timothy Brownawell, 2009/01/04
- Re: [Monotone-devel] "throw usage(); " or "N(); " for argument checking?, Markus Wanner, 2009/01/04
- Re: [Monotone-devel] "throw usage(); " or "N(); " for argument checking?, Timothy Brownawell, 2009/01/04
- Re: [Monotone-devel] "throw usage(); " or "N(); " for argument checking?, Zack Weinberg, 2009/01/04
- Re: [Monotone-devel] "throw usage(); " or "N(); " for argument checking?, Thomas Keller, 2009/01/04
- Re: [Monotone-devel] "throw usage(); " or "N(); " for argument checking?, Timothy Brownawell, 2009/01/12
- Re: [Monotone-devel] "throw usage(); " or "N(); " for argument checking?, LeJacq, Jean Pierre, 2009/01/04
- Re: [Monotone-devel] "throw usage(); " or "N(); " for argument checking?,
Markus Wanner <=