From: Eric B. <er...@go...> - 2001-05-28 09:34:47
|
Berend de Boer wrote: > > Eric Bezault <er...@go...> writes: > > > I would suggest that you put all your external routines in > > a class *_EXTERNALS along with routines without POINTERs > > as arguments or results, and that you put this class in > > clusters spec/[ise|se|ve|hact] (you can possibly use 'gepp'). > > I think #ifdefs are an absolutely bad way to manage code. Perhaps in a > few low level classes I can live with them, but generally they > generate a mess of used on a larger scale. So lets avoid them at all > costs. > > Perhaps put this in the guidelines as well: > 1. gepp only to be used for ise/se/ve/hact distinctions. I agree, and that's what I suggested above, nothing else. Perhaps I was not clear enough. > 2. deferred classes are a much better choice. gepp is completely > orthogonal to oo programming in almost any case. If you use it, > there is something wrong. Exactly. And what is wrong? Just the fact that Eiffel compilers are not compatible, right? I don't think we disagree here. -- Eric Bezault mailto:er...@go... http://www.gobosoft.com |