proposals for enumeration of interface-specific error codes

Jason Kraftcheck kraftche at cae.wisc.edu
Tue Aug 24 13:27:43 CDT 2010


On 08/24/2010 12:24 PM, Jason Kraftcheck wrote:
> On 08/24/2010 12:15 PM, Miller, Mark C. wrote:
>>>
>>> kraftche at cae.wisc.edu wrote:
>>
>>
>>> Further, the cosmetic factors are significant in this case. It would be
>>> unnecessarily difficult and error prone for a user of the interface to
>>> determine what subset of the error codes they expect to need to deal
>>> with if they are an interleaved mess.
>>
>> Oh, come on. grep iMesh_ iBase.h will give me the list just fine.
>>
>
> Perphaps. But why require (even trivial) processing when it is also
> trivial to group them in the header, making the whole thing more
> self-documented.
>

Also, the expected errors in that case will be:
   grep \(iMesh_\|iBase_\) iBase.h

and the 'iBase_' part will match a lot more than just error codes.

- jason


More information about the tstt-interface mailing list