[exim-dev] Multiline macros or abstract objects?

Top Page
Delete this message
Reply to this message
Author: Michael Haardt
Date:  
To: exim-dev
Subject: [exim-dev] Multiline macros or abstract objects?
Hello,

I saw the patch and although I see its use, I wonder:

How about a little object orientation? Specifically, I could imagine
abstract routers and transports, and having real routers (transports etc.)
extending them.

Currently, there are default settings for all routers in Exim, so
in a way you could say that routers extend an abstract super router.
Those abstract super routers extend the generic abstract super router.
There is already some OO in there.

Macros are tempting, but work on a textual level and usually bite back,
if you get too fancy.

What do you think?

Michael