Re: [RFA] convert blocks to dictionaries, phase 1, main part

Jim Blandy
2002-09-22T21:41:50Z

Andrew Cagney <ac131313@ges.redhat.com> writes:
> The ALL_xxx_yyy() iterator can probably stay. Its an ``accepted''
> convention.

I think the real reason these are acceptable is not because they're
"established", or anything like that. It's because doing them without
macros is a pain in the neck, no matter how you go about it.
Functions that apply functions to each entry in the table (á là
Scheme's for-each) are very clumsy in C. Iterator objects need to be
freed.

I think the accessors like TYPE_NAME and SYMBOL_VALUE_ADDRESS are
generally okay. Compiling with -g3 makes a big difference.