Re: Question about catcalls

Eric Bezault <[email protected]>
Newsgroups gmane.comp.lang.eiffel.gobo.devel
Message-ID <[email protected]>
Colin Paul Adams wrote:
>>>>>> "Eric" == Eric Bezault <[email protected]> writes:
> 
> 
>     Eric> I tried to find ways to rewrite the code to avoid the
>     Eric> CAT-call error messages, but could not find one yet (apart
>     Eric> from duplicating the code for each container).
> 
> A different approach might be for a burden-off-proof requirement.
> 
> Define an indexing term for a routine that declares no
> catcalls. Gelint would just skip those routines.
> 
> Should be acceptable for test cases.

A class that has no CAT-call today might have CAT-calls
tomorrow without even modifying this class or any of
its ancestors. So I think that marking a class as CAT-call
free is dangerous because the compiler will not tell you
when a new CAT-call is introduced.

-- 
Eric Bezault
mailto:[email protected]
http://www.gobosoft.com

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.