In article <[EMAIL PROTECTED]>,
Tilghman Lesher <[EMAIL PROTECTED]> wrote:
> On Wednesday 15 November 2006 12:32, Luigi Rizzo wrote:
> > > I think they make this part of the code a lot more readable and
> > > consistent and less error prone, especially because we can do the
> > > same parsing on fields of the same type.
> 
> While it certainly makes the code smaller, I don't find it easier to
> read, nor do I think it's less error-prone.  I think it's actually more
> error prone, as it's difficult to read what the code is actually doing.
> The problem is that this translation to macros makes the code
> cryptic.  I'd almost compare it to using macros for the sake of using
> macros, not for any legitimate benefit.

I agree. When trying to understand code with lots of macros, I spend
most of my time looking back at the macro definitions to understand what
is actually going on!

Cheers
Tony
-- 
Tony Mountifield
Work: [EMAIL PROTECTED] - http://www.softins.co.uk
Play: [EMAIL PROTECTED] - http://tony.mountifield.org
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-dev mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to